Uses of Class
org.glassfish.jersey.server.model.ResourceMethod.Builder
Packages that use ResourceMethod.Builder
Package
Description
Jersey server-side application invalid input: '&' resource modeling classes.
-
Uses of ResourceMethod.Builder in org.glassfish.jersey.server.model
Fields in org.glassfish.jersey.server.model with type parameters of type ResourceMethod.BuilderModifier and TypeFieldDescriptionprivate final Set<ResourceMethod.Builder> Resource.Builder.methodBuildersMethods 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.ResourceMethod.Builder.consumes(Collection<javax.ws.rs.core.MediaType> types) Add consumed media types supported by the component.ResourceMethod.Builder.consumes(javax.ws.rs.core.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<javax.ws.rs.container.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.BuilderResourceMethod.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.ResourceMethod.Builder.produces(Collection<javax.ws.rs.core.MediaType> types) Add produced media types supported by the component.ResourceMethod.Builder.produces(javax.ws.rs.core.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.Methods in org.glassfish.jersey.server.model with parameters of type ResourceMethod.BuilderModifier and TypeMethodDescriptionprivate static voidIntrospectionModeller.introspectAsyncFeatures(AnnotatedMethod am, ResourceMethod.Builder resourceMethodBuilder) (package private) voidResource.Builder.onBuildMethod(ResourceMethod.Builder builder, ResourceMethod.Data methodData) Called when a new resource, sub-resource and sub-resource locator method was built and should be registered with the resource builder.