public abstract class BaseService extends Object
| Constructor and Description |
|---|
BaseService() |
| Modifier and Type | Method and Description |
|---|---|
protected RequestBodyParser |
getBodyParser() |
protected ResultSerializer |
getResultSerializer() |
protected javax.ws.rs.core.Response |
handleRequest(javax.ws.rs.core.HttpHeaders headers,
String body,
javax.ws.rs.core.UriInfo uriInfo,
Request.Type requestType,
ResourceInstance resource)
All requests are funneled through this method so that common logic can be executed.
|
protected javax.ws.rs.core.Response handleRequest(javax.ws.rs.core.HttpHeaders headers,
String body,
javax.ws.rs.core.UriInfo uriInfo,
Request.Type requestType,
ResourceInstance resource)
headers - http headersbody - http bodyuriInfo - uri informationrequestType - http request typeresource - resource instance that is being acted onprotected ResultSerializer getResultSerializer()
protected RequestBodyParser getBodyParser()
Copyright © 2016. All rights reserved.