|
||||||||||
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.RQGResponse
public class HTTPAPIImpl.RQGResponse
Exposes access to both a ready-to-use RQG
on success or a
network response object on failure.
Constructor Summary | |
---|---|
HTTPAPIImpl.RQGResponse(RQG rqg,
com.clarkparsia.utils.web.Response response)
Constructor to set the RQG and network response data;
not needed by most users. |
Method Summary | |
---|---|
RQG |
getRQG()
Getter method to get the RQG 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.RQGResponse(RQG rqg, com.clarkparsia.utils.web.Response response)
RQG
and network response data;
not needed by most users.
The network connection is automatically closed on a successful
RQG
creation.
rqg
- RQG
to be returned to the user, or nullresponse
- network response object with response status informationMethod Detail |
---|
public RQG getRQG()
HTTPClient.RQGResponse
RQG
from a successful conversion.
getRQG
in interface HTTPClient.RQGResponse
RQG
or null on failure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |