public final class RedmineErrorHandler extends java.lang.Object implements ContentHandler<BasicHttpResponse,BasicHttpResponse>
Constructor and Description |
---|
RedmineErrorHandler() |
Modifier and Type | Method and Description |
---|---|
BasicHttpResponse |
processContent(BasicHttpResponse httpResponse)
Consumes content of a specified type and returns a specified result.
|
public BasicHttpResponse processContent(BasicHttpResponse httpResponse) throws RedmineException
ContentHandler
processContent
in interface ContentHandler<BasicHttpResponse,BasicHttpResponse>
httpResponse
- content to process.RedmineException
- if something goes wrong.