Uses of Class
org.glassfish.jersey.server.model.ResourceMethod.Builder
Packages that use ResourceMethod.Builder
Package
Description
Jersey server-side application & resource modeling classes.
-
Uses of ResourceMethod.Builder in org.glassfish.jersey.server.model
Methods in org.glassfish.jersey.server.model that return ResourceMethod.BuilderModifier and TypeMethodDescriptionResource.Builder.addMethod()
Add a new arbitrary method model to the resource.Add a new method model to the resource for processing requests of the specified HTTP method.Resource.Builder.addMethod
(ResourceMethod resourceMethod) Add a new method model that is a copy of the givenresourceMethod
.Add consumed media types supported by the component.Add consumed media types supported by the component.ResourceMethod.Builder.consumes
(Collection<MediaType> types) Add consumed media types supported by the component.ResourceMethod.Builder.encodedParameters
(boolean value) If set totrue
, the parameter values will not be automatically decoded.ResourceMethod.Builder.extended
(boolean extended) Get the flag indicating whether the resource method is extended or is a core of exposed RESTful API.Define a resource method handler binding.Define an inflector-based resource method handler binding.Define a resource method handler binding.ResourceMethod.Builder.handledBy
(Inflector<ContainerRequestContext, ?> inflector) Define an inflector-based resource method handler binding.ResourceMethod.Builder.handlerParameters
(Collection<Parameter> parameters) Parameters defined on the handler (i.e.ResourceMethod.Builder.handlingMethod
(Method handlingMethod) Define a specific method of the handling class that will be executed.ResourceMethod.Builder.httpMethod
(String name) Set the associated HTTP method name.ResourceMethod.Builder.managedAsync()
Set the managed async required flag on the method model totrue
.ResourceMethod.Builder.nameBindings
(Annotation... nameBindings) Adds name bindings.final ResourceMethod.Builder
ResourceMethod.Builder.nameBindings
(Class<? extends Annotation>... nameBindings) Adds name bindings.ResourceMethod.Builder.nameBindings
(Collection<Class<? extends Annotation>> nameBindings) Adds name bindings.Add produced media types supported by the component.Add produced media types supported by the component.ResourceMethod.Builder.produces
(Collection<MediaType> types) Add produced media types supported by the component.ResourceMethod.Builder.routingResponseType
(Type routingResponseType) Define the response entity type used during the routing for selection of the resource methods.ResourceMethod.Builder.sse()
Set the SSE flag on the method model totrue
.Mark the component for suspending.Resource.Builder.updateMethod
(ResourceMethod resourceMethod) Get a method builder for an existing resource method.