public static final class ResourceLocator.Response extends Object implements BasicLogger.Printable
| Modifier and Type | Method and Description |
|---|---|
ResourceLocator.Request |
getRequest()
Will recreate the request that resulted in the final response.
|
int |
getStatusCode() |
Reader |
getStreamReader()
Open connection and return an input stream reader.
|
boolean |
isResponseOK() |
void |
print(BasicLogger.Printer receiver) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprint, print, printpublic ResourceLocator.Request getRequest()
public int getStatusCode()
public Reader getStreamReader()
toString() and #print(Printer) methods delegate to this method.
(Those methods can be called multiple timea.)public boolean isResponseOK()
public void print(BasicLogger.Printer receiver)
print in interface BasicLogger.PrintableCopyright © 2019 Optimatika. All rights reserved.