ResourceMethod.Builder |
Resource.Builder.addMethod() |
Add a new arbitrary method model to the resource.
|
ResourceMethod.Builder |
Resource.Builder.addMethod(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(jakarta.ws.rs.core.MediaType... types) |
Add consumed media types supported by the component.
|
ResourceMethod.Builder |
ResourceMethod.Builder.consumes(String... types) |
Add consumed media types supported by the component.
|
ResourceMethod.Builder |
ResourceMethod.Builder.consumes(Collection<jakarta.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(Class<?> handlerClass,
Method method) |
Define a resource method handler binding.
|
ResourceMethod.Builder |
ResourceMethod.Builder.handledBy(Class<? extends Inflector> inflectorClass) |
Define an inflector-based resource method handler binding.
|
ResourceMethod.Builder |
ResourceMethod.Builder.handledBy(Object handlerInstance,
Method method) |
Define a resource method handler binding.
|
ResourceMethod.Builder |
ResourceMethod.Builder.handledBy(Inflector<jakarta.ws.rs.container.ContainerRequestContext,?> inflector) |
Define an inflector-based resource method handler binding.
|
ResourceMethod.Builder |
ResourceMethod.Builder.handlerParameters(Collection<Parameter> parameters) |
Parameters defined on the handler (i.e.
|
ResourceMethod.Builder |
ResourceMethod.Builder.handlingMethod(Method handlingMethod) |
Define a specific method of the handling class that will be executed.
|
ResourceMethod.Builder |
ResourceMethod.Builder.httpMethod(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(Annotation... nameBindings) |
Adds name bindings.
|
ResourceMethod.Builder |
ResourceMethod.Builder.nameBindings(Class<? extends Annotation>... nameBindings) |
Adds name bindings.
|
ResourceMethod.Builder |
ResourceMethod.Builder.nameBindings(Collection<Class<? extends Annotation>> nameBindings) |
Adds name bindings.
|
ResourceMethod.Builder |
ResourceMethod.Builder.produces(jakarta.ws.rs.core.MediaType... types) |
Add produced media types supported by the component.
|
ResourceMethod.Builder |
ResourceMethod.Builder.produces(String... types) |
Add produced media types supported by the component.
|
ResourceMethod.Builder |
ResourceMethod.Builder.produces(Collection<jakarta.ws.rs.core.MediaType> types) |
Add produced media types supported by the component.
|
ResourceMethod.Builder |
ResourceMethod.Builder.routingResponseType(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,
TimeUnit unit) |
Mark the component for suspending.
|
ResourceMethod.Builder |
Resource.Builder.updateMethod(ResourceMethod resourceMethod) |
Get a method builder for an existing resource method.
|