public static class ResourceBuilder.ResourceMethodBuilder extends ResourceBuilder.ResourceLocatorBuilder<ResourceBuilder.ResourceMethodBuilder>
Modifier and Type | Method and Description |
---|---|
ResourceBuilder.ResourceClassBuilder |
buildMethod() |
ResourceBuilder.ResourceMethodBuilder |
consumes(javax.ws.rs.core.MediaType... consumes) |
ResourceBuilder.ResourceMethodBuilder |
consumes(String... consumes) |
ResourceBuilder.ResourceMethodBuilder |
delete() |
ResourceBuilder.ResourceMethodBuilder |
get() |
ResourceBuilder.ResourceMethodBuilder |
head() |
ResourceBuilder.ResourceMethodBuilder |
httpMethod(String httpMethod) |
ResourceBuilder.ResourceMethodBuilder |
options() |
ResourceBuilder.ResourceMethodParameterBuilder |
param(int i) |
protected javax.ws.rs.core.MediaType[] |
parseMediaTypes(String[] produces) |
ResourceBuilder.ResourceMethodBuilder |
post() |
ResourceBuilder.ResourceMethodBuilder |
produces(javax.ws.rs.core.MediaType... produces) |
ResourceBuilder.ResourceMethodBuilder |
produces(String... produces) |
ResourceBuilder.ResourceMethodBuilder |
put() |
genericReturnType, path, returnType, returnType
public ResourceBuilder.ResourceMethodBuilder httpMethod(String httpMethod)
public ResourceBuilder.ResourceMethodBuilder get()
public ResourceBuilder.ResourceMethodBuilder put()
public ResourceBuilder.ResourceMethodBuilder post()
public ResourceBuilder.ResourceMethodBuilder delete()
public ResourceBuilder.ResourceMethodBuilder options()
public ResourceBuilder.ResourceMethodBuilder head()
public ResourceBuilder.ResourceMethodBuilder produces(javax.ws.rs.core.MediaType... produces)
public ResourceBuilder.ResourceMethodBuilder produces(String... produces)
protected javax.ws.rs.core.MediaType[] parseMediaTypes(String[] produces)
public ResourceBuilder.ResourceMethodBuilder consumes(javax.ws.rs.core.MediaType... consumes)
public ResourceBuilder.ResourceMethodBuilder consumes(String... consumes)
public ResourceBuilder.ResourceMethodParameterBuilder param(int i)
param
in class ResourceBuilder.ResourceLocatorBuilder<ResourceBuilder.ResourceMethodBuilder>
public ResourceBuilder.ResourceClassBuilder buildMethod()
buildMethod
in class ResourceBuilder.ResourceLocatorBuilder<ResourceBuilder.ResourceMethodBuilder>
Copyright © 2015 JBoss by Red Hat. All rights reserved.