|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.sswap.impl.http.AbstractHTTPResponse
info.sswap.impl.http.HTTPAPIImpl.RIGResponse
public class HTTPAPIImpl.RIGResponse
Exposes access to both a ready-to-use RIG
on success or a
network response object on failure.
Constructor Summary | |
---|---|
HTTPAPIImpl.RIGResponse(RIG rig,
com.clarkparsia.utils.web.Response response)
Constructor to set the RIG and network response data;
not needed by most users. |
Method Summary | |
---|---|
RIG |
getRIG()
Getter method to get the RIG from a successful conversion. |
Methods inherited from class info.sswap.impl.http.AbstractHTTPResponse |
---|
close, getContent, getDocument, getErrorStream, getException, getHeaders, getHeaderValue, getHeaderValues, getMessage, getResponseCode, getSSWAPExceptionHeader, getSSWAPExceptionValues, hasErrorCode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface info.sswap.api.http.HTTPResponse |
---|
close, getContent, getErrorStream, getException, getHeaders, getHeaderValue, getHeaderValues, getMessage, getResponseCode, getSSWAPExceptionHeader, getSSWAPExceptionValues, hasErrorCode |
Constructor Detail |
---|
public HTTPAPIImpl.RIGResponse(RIG rig, com.clarkparsia.utils.web.Response response)
RIG
and network response data;
not needed by most users.
The network connection is automatically closed on a successful
RIG
creation.
rig
- RIG
to be returned to the user, or nullresponse
- network response object with response status informationMethod Detail |
---|
public RIG getRIG()
HTTPClient.RIGResponse
RIG
from a successful conversion.
getRIG
in interface HTTPClient.RIGResponse
RIG
or null on failure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |