ResourceMethod.Builder |
Resource.Builder.addMethod() |
Add a new arbitrary method model to the resource.
|
ResourceMethod.Builder |
Resource.Builder.addMethod(java.lang.String httpMethod) |
Add a new method model to the resource for processing requests of
the specified HTTP method.
|
ResourceMethod.Builder |
Resource.Builder.addMethod(ResourceMethod resourceMethod) |
Add a new method model that is a copy of the given resourceMethod .
|
ResourceMethod.Builder |
ResourceMethod.Builder.consumes(java.lang.String... types) |
Add consumed media types supported by the component.
|
ResourceMethod.Builder |
ResourceMethod.Builder.consumes(java.util.Collection<javax.ws.rs.core.MediaType> types) |
Add consumed media types supported by the component.
|
ResourceMethod.Builder |
ResourceMethod.Builder.consumes(javax.ws.rs.core.MediaType... types) |
Add consumed media types supported by the component.
|
ResourceMethod.Builder |
ResourceMethod.Builder.encodedParameters(boolean value) |
If set to true , the parameter values will not be automatically
decoded.
|
ResourceMethod.Builder |
ResourceMethod.Builder.extended(boolean extended) |
Get the flag indicating whether the resource method is extended or is a core of exposed RESTful API.
|
ResourceMethod.Builder |
ResourceMethod.Builder.handledBy(java.lang.Class<?> handlerClass,
java.lang.reflect.Method method) |
Define a resource method handler binding.
|
ResourceMethod.Builder |
ResourceMethod.Builder.handledBy(java.lang.Class<? extends Inflector> inflectorClass) |
Define an inflector-based resource method handler binding.
|
ResourceMethod.Builder |
ResourceMethod.Builder.handledBy(java.lang.Object handlerInstance,
java.lang.reflect.Method method) |
Define a resource method handler binding.
|
ResourceMethod.Builder |
ResourceMethod.Builder.handledBy(Inflector<javax.ws.rs.container.ContainerRequestContext,?> inflector) |
Define an inflector-based resource method handler binding.
|
ResourceMethod.Builder |
ResourceMethod.Builder.handlerParameters(java.util.Collection<Parameter> parameters) |
Parameters defined on the handler (i.e.
|
ResourceMethod.Builder |
ResourceMethod.Builder.handlingMethod(java.lang.reflect.Method handlingMethod) |
Define a specific method of the handling class that will be executed.
|
ResourceMethod.Builder |
ResourceMethod.Builder.httpMethod(java.lang.String name) |
Set the associated HTTP method name.
|
ResourceMethod.Builder |
ResourceMethod.Builder.managedAsync() |
Set the managed async required flag on the method model to true .
|
ResourceMethod.Builder |
ResourceMethod.Builder.nameBindings(java.lang.annotation.Annotation... nameBindings) |
Adds name bindings.
|
ResourceMethod.Builder |
ResourceMethod.Builder.nameBindings(java.lang.Class<? extends java.lang.annotation.Annotation>... nameBindings) |
Adds name bindings.
|
ResourceMethod.Builder |
ResourceMethod.Builder.nameBindings(java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> nameBindings) |
Adds name bindings.
|
ResourceMethod.Builder |
ResourceMethod.Builder.produces(java.lang.String... types) |
Add produced media types supported by the component.
|
ResourceMethod.Builder |
ResourceMethod.Builder.produces(java.util.Collection<javax.ws.rs.core.MediaType> types) |
Add produced media types supported by the component.
|
ResourceMethod.Builder |
ResourceMethod.Builder.produces(javax.ws.rs.core.MediaType... types) |
Add produced media types supported by the component.
|
ResourceMethod.Builder |
ResourceMethod.Builder.routingResponseType(java.lang.reflect.Type routingResponseType) |
Define the response entity type used during the routing for
selection of the resource methods.
|
ResourceMethod.Builder |
ResourceMethod.Builder.sse() |
Set the SSE flag on the method model to true .
|
ResourceMethod.Builder |
ResourceMethod.Builder.suspended(long timeout,
java.util.concurrent.TimeUnit unit) |
Mark the component for suspending.
|
ResourceMethod.Builder |
Resource.Builder.updateMethod(ResourceMethod resourceMethod) |
Get a method builder for an existing resource method.
|