public abstract class HttpGetRequestFuture extends Object implements Future<ByteBuffer>
Constructor and Description |
---|
HttpGetRequestFuture() |
Modifier and Type | Method and Description |
---|---|
protected void |
validateHttpResponse(int statusCode,
String responseMessage)
Validates HTTP response message.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResult, isFinished
protected void validateHttpResponse(int statusCode, String responseMessage) throws HttpProtocolException
statusCode
- HTTP status code.responseMessage
- HTTP header response message.HttpProtocolException
- will be thrown when HTTP status code is not 200 and response doesn't include data,
or HTTP status code is not 200 and response content type isn't
"application/ksi-response".Copyright © 2024 Guardtime. All rights reserved.