|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.wadl.processor.OptionsMethodProcessor
@Priority(value=2147483647) public class OptionsMethodProcessor
Model processor enhancing resource model and sub resources
by default OPTIONS methods defined by JAX-RS specification.
| Constructor Summary | |
|---|---|
OptionsMethodProcessor()
Creates new instance. |
|
| Method Summary | |
|---|---|
ResourceModel |
processResourceModel(ResourceModel resourceModel,
javax.ws.rs.core.Configuration configuration)
Process resourceModel and return the processed model. |
ResourceModel |
processSubResource(ResourceModel subResourceModel,
javax.ws.rs.core.Configuration configuration)
Process subResourceModel which was returned a sub resource locator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OptionsMethodProcessor()
| Method Detail |
|---|
public ResourceModel processResourceModel(ResourceModel resourceModel,
javax.ws.rs.core.Configuration configuration)
ModelProcessorresourceModel and return the processed model. Returning input resourceModel will cause
no effect on the final resource model.
processResourceModel in interface ModelProcessorresourceModel - Input resource model to be processed.configuration - Runtime configuration.
public ResourceModel processSubResource(ResourceModel subResourceModel,
javax.ws.rs.core.Configuration configuration)
ModelProcessorsubResourceModel which was returned a sub resource locator.
The subResourceModel contains only one resource representing model that should be processed
by further matching. The method must return also exactly one resource in the model. Returning input
subResourceModel instance will cause no effect on the final sub resource model.
processSubResource in interface ModelProcessorsubResourceModel - Sub resource which is based on sub resource returned from sub resource locator.configuration - Runtime configuration.
resource which should be used for handling sub resource.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||