public interface RestProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Modifier and Type | Method and Description |
---|---|
void |
doRESTDelete(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called when a DELETE" request is made.
|
void |
doRESTGet(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called when a "GET" request is made.
|
void |
doRESTPost(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called when a "POST" request is made.
|
void |
doRESTPut(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
This method is called when a "PUT" request is made.
|
void |
setParentServlet(RestPipelineServlet pServlet)
This method sets the parent rest pipeline servlet
|
static final java.lang.String CLASS_VERSION
void setParentServlet(RestPipelineServlet pServlet)
pServlet
- the parent pipeline servlet for this processorvoid doRESTGet(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws java.io.IOException, RestException
pRequest
- the servlet requestpResponse
- the servlet responseRestException
- if an error occurs processing the REST requestjava.io.IOException
- if an input or output stream exception occursvoid doRESTPost(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws java.io.IOException, RestException
pRequest
- the servlet requestpResponse
- the servlet responseRestException
- if an error occurs processing the REST requestjava.io.IOException
- if an input or output stream exception occursvoid doRESTPut(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws java.io.IOException, RestException
pRequest
- the servlet requestpResponse
- the servlet responseRestException
- if an error occurs processing the REST requestjava.io.IOException
- if an input or output stream exception occursvoid doRESTDelete(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws java.io.IOException, RestException
pRequest
- the servlet requestpResponse
- the servlet responseRestException
- if an error occurs processing the REST requestjava.io.IOException
- if an input or output stream exception occurs