Class ModelProcessorUtil.Method

  • Enclosing class:
    ModelProcessorUtil

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

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

      • Method

        public Method​(String path,
                      String httpMethod,
                      jakarta.ws.rs.core.MediaType consumes,
                      jakarta.ws.rs.core.MediaType produces,
                      Class<? extends Inflector<jakarta.ws.rs.container.ContainerRequestContext,​jakarta.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<jakarta.ws.rs.core.MediaType> consumes,
                      List<jakarta.ws.rs.core.MediaType> produces,
                      Class<? extends Inflector<jakarta.ws.rs.container.ContainerRequestContext,​jakarta.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,
                      jakarta.ws.rs.core.MediaType consumes,
                      jakarta.ws.rs.core.MediaType produces,
                      Class<? extends Inflector<jakarta.ws.rs.container.ContainerRequestContext,​jakarta.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<jakarta.ws.rs.core.MediaType> consumes,
                      List<jakarta.ws.rs.core.MediaType> produces,
                      Class<? extends Inflector<jakarta.ws.rs.container.ContainerRequestContext,​jakarta.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<jakarta.ws.rs.core.MediaType> consumes,
                      List<jakarta.ws.rs.core.MediaType> produces,
                      Inflector<jakarta.ws.rs.container.ContainerRequestContext,​jakarta.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,
                      jakarta.ws.rs.core.MediaType consumes,
                      jakarta.ws.rs.core.MediaType produces,
                      Inflector<jakarta.ws.rs.container.ContainerRequestContext,​jakarta.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,
                      jakarta.ws.rs.core.MediaType consumes,
                      jakarta.ws.rs.core.MediaType produces,
                      Inflector<jakarta.ws.rs.container.ContainerRequestContext,​jakarta.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<jakarta.ws.rs.core.MediaType> consumes,
                      List<jakarta.ws.rs.core.MediaType> produces,
                      Inflector<jakarta.ws.rs.container.ContainerRequestContext,​jakarta.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.