Class ModelProcessorUtil.Method

java.lang.Object
org.glassfish.jersey.server.model.internal.ModelProcessorUtil.Method
Enclosing class:
ModelProcessorUtil

public static class ModelProcessorUtil.Method extends Object
Method bean containing basic information about enhancing resource method.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final List<javax.ws.rs.core.MediaType>
     
    private final String
     
    private final Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response>
     
    private final Class<? extends Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response>>
     
    private final String
     
    private final List<javax.ws.rs.core.MediaType>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Method(String path, String httpMethod, List<javax.ws.rs.core.MediaType> consumes, List<javax.ws.rs.core.MediaType> produces, Class<? extends Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response>> inflectorClass)
    Create new method instance.
    Method(String path, String httpMethod, List<javax.ws.rs.core.MediaType> consumes, List<javax.ws.rs.core.MediaType> produces, Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response> inflector)
    Create new method instance.
    Method(String path, String httpMethod, javax.ws.rs.core.MediaType consumes, javax.ws.rs.core.MediaType produces, Class<? extends Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response>> inflector)
    Create new method instance.
    Method(String path, String httpMethod, javax.ws.rs.core.MediaType consumes, javax.ws.rs.core.MediaType produces, Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response> inflector)
    Create new method instance.
    Method(String httpMethod, List<javax.ws.rs.core.MediaType> consumes, List<javax.ws.rs.core.MediaType> produces, Class<? extends Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response>> inflector)
    Create new method instance.
    Method(String httpMethod, List<javax.ws.rs.core.MediaType> consumes, List<javax.ws.rs.core.MediaType> produces, Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response> inflector)
    Create new method instance.
    Method(String httpMethod, javax.ws.rs.core.MediaType consumes, javax.ws.rs.core.MediaType produces, Class<? extends Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response>> inflector)
    Create new method instance.
    Method(String httpMethod, javax.ws.rs.core.MediaType consumes, javax.ws.rs.core.MediaType produces, Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response> inflector)
    Create new method instance.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • httpMethod

      private final String httpMethod
    • path

      private final String path
    • consumes

      private final List<javax.ws.rs.core.MediaType> consumes
    • produces

      private final List<javax.ws.rs.core.MediaType> produces
    • inflectorClass

      private final Class<? extends Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response>> inflectorClass
    • inflector

      private final Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response> inflector
  • Constructor Details

    • Method

      public Method(String path, String httpMethod, javax.ws.rs.core.MediaType consumes, javax.ws.rs.core.MediaType produces, Class<? extends Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response>> inflector)
      Create new method instance.
      Parameters:
      path - relative path of the method.
      httpMethod - HTTP method (eg. GET, POST, OPTIONS).
      consumes - Consumed media type.
      produces - Produces media type.
      inflector - Inflector handling the resource method.
    • Method

      public Method(String path, String httpMethod, List<javax.ws.rs.core.MediaType> consumes, List<javax.ws.rs.core.MediaType> produces, Class<? extends Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response>> inflectorClass)
      Create new method instance.
      Parameters:
      path - relative path of the method.
      httpMethod - HTTP method (eg. GET, POST, OPTIONS).
      consumes - Consumed media types.
      produces - Produces media types.
      inflectorClass - Inflector handling the resource method.
    • Method

      public Method(String httpMethod, javax.ws.rs.core.MediaType consumes, javax.ws.rs.core.MediaType produces, Class<? extends Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response>> inflector)
      Create new method instance.
      Parameters:
      httpMethod - HTTP method (eg. GET, POST, OPTIONS).
      consumes - Consumed media type.
      produces - Produces media type.
      inflector - Inflector handling the resource method.
    • Method

      public Method(String httpMethod, List<javax.ws.rs.core.MediaType> consumes, List<javax.ws.rs.core.MediaType> produces, Class<? extends Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response>> inflector)
      Create new method instance.
      Parameters:
      httpMethod - HTTP method (eg. GET, POST, OPTIONS).
      consumes - Consumed media types.
      produces - Produces media types.
      inflector - Inflector handling the resource method.
    • Method

      public Method(String path, String httpMethod, List<javax.ws.rs.core.MediaType> consumes, List<javax.ws.rs.core.MediaType> produces, Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response> inflector)
      Create new method instance.
      Parameters:
      path - relative path of the method.
      httpMethod - HTTP method (eg. GET, POST, OPTIONS).
      consumes - Consumed media types.
      produces - Produces media types.
      inflector - Inflector handling the resource method.
    • Method

      public Method(String path, String httpMethod, javax.ws.rs.core.MediaType consumes, javax.ws.rs.core.MediaType produces, Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response> inflector)
      Create new method instance.
      Parameters:
      path - relative path of the method.
      httpMethod - HTTP method (eg. GET, POST, OPTIONS).
      consumes - Consumed media type.
      produces - Produces media type.
      inflector - Inflector handling the resource method.
    • Method

      public Method(String httpMethod, javax.ws.rs.core.MediaType consumes, javax.ws.rs.core.MediaType produces, Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response> inflector)
      Create new method instance.
      Parameters:
      httpMethod - HTTP method (eg. GET, POST, OPTIONS).
      consumes - Consumed media type.
      produces - Produces media type.
      inflector - Inflector handling the resource method.
    • Method

      public Method(String httpMethod, List<javax.ws.rs.core.MediaType> consumes, List<javax.ws.rs.core.MediaType> produces, Inflector<javax.ws.rs.container.ContainerRequestContext,javax.ws.rs.core.Response> inflector)
      Create new method instance.
      Parameters:
      httpMethod - HTTP method (eg. GET, POST, OPTIONS).
      consumes - Consumed media types.
      produces - Produces media types.
      inflector - Inflector handling the resource method.