public abstract class HTTPStatusCheckCallback extends Object implements HTTPResponseCallback
| Constructor and Description |
|---|
HTTPStatusCheckCallback() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
checkedResponse(HTTPResponse response) |
protected int |
expectedStatus() |
protected abstract void |
invalidStatus(int status,
HTTPResponse response) |
void |
response(HTTPResponse response) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfailpublic final void response(HTTPResponse response)
response in interface HTTPResponseCallbackprotected abstract void checkedResponse(HTTPResponse response)
protected abstract void invalidStatus(int status,
HTTPResponse response)
protected int expectedStatus()
HttpResponseCopyright © 2012–2018 Taimos GmbH. All rights reserved.