|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Application.Builder.BoundBuilder
Represents a supported resource path to which new resource methods and sub-resource locators can be attached.
| Method Summary | |
|---|---|
Application.Builder.BoundBuilder |
consumes(javax.ws.rs.core.MediaType... mediaTypes)
Set supported request media types (equivalent of Consumes)
for the current path. |
Application.Builder.ResourceMethodBuilder |
method(String... methods)
Bind new HTTP methods to the path previously configured in this builder. |
Application.Builder.BoundBuilder |
produces(javax.ws.rs.core.MediaType... mediaTypes)
Set supported response media types (equivalent of Produces)
fir the current path. |
Application.Builder.BoundBuilder |
subPath(String subPath)
Append sub-path to the current path which can be used to bind new sub-resource locators. |
| Method Detail |
|---|
Application.Builder.ResourceMethodBuilder method(String... methods)
builder.
If any of the specified methods has already been bound earlier, the
previous method binding will be overridden.
methods - set of HTTP methods to be bound. Any duplicate values
will be automatically discarded.
resource method builder
instance.Application.Builder.BoundBuilder produces(javax.ws.rs.core.MediaType... mediaTypes)
Produces)
fir the current path. Overrides any previously set values.
mediaTypes - supported response media types.
Application.Builder.ResourceMethodBuilder updated builder instance}.Application.Builder.BoundBuilder consumes(javax.ws.rs.core.MediaType... mediaTypes)
Consumes)
for the current path. Overrides any previously set values.
mediaTypes - supported request media types.
Application.Builder.BoundBuilder updated builder instance}.Application.Builder.BoundBuilder subPath(String subPath)
subPath - path to be appended to the current path value.
updated builder instance bound the the
new path.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||