public static class ModelProcessorUtil.Method extends Object
Constructor and Description |
---|
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(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.
|
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)
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.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)
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.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)
httpMethod
- HTTP method (eg. GET, POST, OPTIONS).consumes
- Consumed media type.produces
- Produces media type.inflector
- Inflector handling the resource 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)
httpMethod
- HTTP method (eg. GET, POST, OPTIONS).consumes
- Consumed media types.produces
- Produces media types.inflector
- Inflector handling the resource 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)
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.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)
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.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)
httpMethod
- HTTP method (eg. GET, POST, OPTIONS).consumes
- Consumed media type.produces
- Produces media type.inflector
- Inflector handling the resource 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)
httpMethod
- HTTP method (eg. GET, POST, OPTIONS).consumes
- Consumed media types.produces
- Produces media types.inflector
- Inflector handling the resource method.Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.