Class ExceptionResource

java.lang.Object
org.glassfish.jersey.examples.exception.ExceptionResource

@Path("exception") @Consumes("text/plain") @Produces("text/plain") public class ExceptionResource extends Object
ExceptionResource class.
Author:
Santiago.PericasGeertsen at oracle.com
  • Constructor Details

    • ExceptionResource

      public ExceptionResource()
  • Method Details

    • pingMe

      @GET public String pingMe()
    • testWebApplicationExceptionEntity

      @POST @Path("webapplication_entity") public String testWebApplicationExceptionEntity(String s)
    • testWebApplicationExceptionNoEntity

      @POST @Path("webapplication_noentity") public String testWebApplicationExceptionNoEntity(String s)
    • testMyException

      @POST @Path("my") public String testMyException(String s)
    • testMySubException

      @POST @Path("mysub") public String testMySubException(String s)
    • testMySubSubException

      @POST @Path("mysubsub") public String testMySubSubException(String s)
    • exceptionInRequestFilter

      @POST @Path("request_exception") public String exceptionInRequestFilter()
    • exceptionInResponseFilter

      @GET @Path("response_exception") public String exceptionInResponseFilter()