|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ViewResourceHandler
Handler object available to the view components used to allow the API framework to handle the request.
| Nested Class Summary | |
|---|---|
static class |
ViewResourceHandler.MediaType
Supported media types. |
static class |
ViewResourceHandler.RequestType
Request types. |
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
handleRequest(javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo ui,
String resourceId)
Handle the API request with a request type of GET and media type of TEXT_PLAIN. |
javax.ws.rs.core.Response |
handleRequest(javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo ui,
ViewResourceHandler.RequestType requestType,
ViewResourceHandler.MediaType mediaType,
String resourceId)
Handle the API request for the given request and media type. |
| Method Detail |
|---|
javax.ws.rs.core.Response handleRequest(javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo ui,
ViewResourceHandler.RequestType requestType,
ViewResourceHandler.MediaType mediaType,
String resourceId)
headers - the headersui - the URI inforequestType - the request typemediaType - the requested media typeresourceId - the resource id; may be null for collection resources
javax.ws.rs.core.Response handleRequest(javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo ui,
String resourceId)
headers - the headersui - the URI inforesourceId - the resource id; may be null for collection resources
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||