Class ResourceBuilder.ResourceMethodBuilder
java.lang.Object
org.jboss.resteasy.spi.metadata.ResourceBuilder.ResourceLocatorBuilder<ResourceBuilder.ResourceMethodBuilder>
org.jboss.resteasy.spi.metadata.ResourceBuilder.ResourceMethodBuilder
- Enclosing class:
ResourceBuilder
public static class ResourceBuilder.ResourceMethodBuilder
extends ResourceBuilder.ResourceLocatorBuilder<ResourceBuilder.ResourceMethodBuilder>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
ConstructorDescriptionResourceMethodBuilder
(ResourceBuilder.ResourceClassBuilder resourceClassBuilder, Method method, Method annotatedMethod) -
Method Summary
Modifier and TypeMethodDescriptionconsumes
(jakarta.ws.rs.core.MediaType... consumes) delete()
get()
head()
httpMethod
(String httpMethod) options()
param
(int i) protected jakarta.ws.rs.core.MediaType[]
parseMediaTypes
(String[] produces) post()
produces
(jakarta.ws.rs.core.MediaType... produces) put()
Methods inherited from class org.jboss.resteasy.spi.metadata.ResourceBuilder.ResourceLocatorBuilder
genericReturnType, getLocator, path, returnType, returnType
-
Constructor Details
-
ResourceMethodBuilder
public ResourceMethodBuilder(ResourceBuilder.ResourceClassBuilder resourceClassBuilder, Method method, Method annotatedMethod)
-
-
Method Details
-
httpMethod
-
get
-
put
-
post
-
delete
-
options
-
head
-
produces
-
produces
-
parseMediaTypes
-
consumes
-
consumes
-
param
- Overrides:
param
in classResourceBuilder.ResourceLocatorBuilder<ResourceBuilder.ResourceMethodBuilder>
-
buildMethod
- Overrides:
buildMethod
in classResourceBuilder.ResourceLocatorBuilder<ResourceBuilder.ResourceMethodBuilder>
-
getMethod
-