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