Class MessageResource

java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.messaging.greenmail.impl.rest.MessageResource
All Implemented Interfaces:
RestResource

@Path("/greenmail/messages/{id}") @ConditionalOnProperty(value="ch.tocco.nice2.enableUpgradeMode", havingValue="false", matchIfMissing=true) public class MessageResource extends AbstractRestResource
  • Constructor Details

  • Method Details

    • getMessage

      @GET @Produces("application/json") public MessageBean getMessage(@PathParam("id") String id)
    • getContent

      @GET @Path("/content") public jakarta.ws.rs.core.Response getContent(@PathParam("id") String id)