public class RestResponseHandler extends StandardResponseHandler
method
Constructor and Description |
---|
RestResponseHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canProcess(java.lang.String contentType)
Checks if the response can be processed by the handler
|
protected int |
convertHttpResponseToXml(HttpMethod httpMethod,
Document doc)
Small extension introduced in PP 10.8 i.e.
|
java.util.List<java.lang.String> |
getSupportedContentTypes()
Returns supported content types
|
applyAdditionalTransformation, convertResponseToXml, defineParentNode, executeXslt, handleResponseXPath, initialize, postProcessXml, preProcessXml
getPerformanceCounters, setPerformanceCounters
protected int convertHttpResponseToXml(HttpMethod httpMethod, Document doc) throws java.io.IOException, XMLException
convertHttpResponseToXml
in class StandardResponseHandler
httpMethod
- HTTP method object from which the response data is read.doc
- NOM document for creating the XML.java.io.IOException
XMLException
public boolean canProcess(java.lang.String contentType)
IResponseHandler
canProcess
in interface IResponseHandler
canProcess
in class StandardResponseHandler
contentType
- response content typepublic java.util.List<java.lang.String> getSupportedContentTypes()
IResponseHandler
getSupportedContentTypes
in interface IResponseHandler
getSupportedContentTypes
in class StandardResponseHandler