|
||||||||||
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.RRGResponse
public class HTTPAPIImpl.RRGResponse
Exposes access to both a ready-to-use RRG
on success or a
network response object on failure.
Constructor Summary | |
---|---|
HTTPAPIImpl.RRGResponse(RRG rrg,
com.clarkparsia.utils.web.Response response)
Constructor to set the RRG and network response data;
not needed by most users. |
|
HTTPAPIImpl.RRGResponse(RRG rrg,
com.clarkparsia.utils.web.Response response,
java.lang.Exception exception)
Constructor to set the RRG and an exception;
not needed by most users. |
Method Summary | |
---|---|
RRG |
getRRG()
Getter method to get the Resource Response Graph ( RRG ) 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.RRGResponse(RRG rrg, com.clarkparsia.utils.web.Response response)
RRG
and network response data;
not needed by most users.
The network connection is automatically closed on a successful
RRG
creation.
rrg
- RRG
to be returned to the user, or nullresponse
- network response object with response status informationpublic HTTPAPIImpl.RRGResponse(RRG rrg, com.clarkparsia.utils.web.Response response, java.lang.Exception exception)
RRG
and an exception;
not needed by most users.
rrg
- RRG
to be returned to the user, or nullresponse
- network response object with response status informationexception
- exception that prevented RRG creation from succeedingMethod Detail |
---|
public RRG getRRG()
HTTPProvider.RRGResponse
RRG
) from a successful conversion.
getRRG
in interface HTTPProvider.RRGResponse
RRG
or null on failure.RRG
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |