protected class JavaHttpBuilder.Action.JavaFromServer extends java.lang.Object implements FromServer
FromServer.Header<T>DEFAULT_CONTENT_TYPE| Constructor and Description | 
|---|
JavaFromServer(java.net.URI originalUri)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
finish()
Performs any client-specific response finishing operations. 
 | 
boolean | 
getHasBody()
Determines whether or not there is body content in the response. 
 | 
java.util.List<FromServer.Header<?>> | 
getHeaders()
Retrieves a  
List of the response headers as (FromServer.Header objects). | 
java.io.InputStream | 
getInputStream()
Retrieves the  
InputStream containing the response content (may have already been processed). | 
java.lang.String | 
getMessage()
Retrieves the response status message. 
 | 
int | 
getStatusCode()
Retrieves the response status code (List of HTTP status code). 
 | 
java.net.URI | 
getUri()
Retrieves the  
URI of the original request. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCharset, getContentType, getCookies, getReaderpublic JavaFromServer(java.net.URI originalUri)
               throws java.io.IOException
java.io.IOExceptionpublic java.io.InputStream getInputStream()
FromServerRetrieves the InputStream containing the response content (may have already been processed).
getInputStream in interface FromServerpublic final int getStatusCode()
FromServerRetrieves the response status code (List of HTTP status code).
getStatusCode in interface FromServerpublic java.lang.String getMessage()
FromServerRetrieves the response status message.
getMessage in interface FromServerpublic java.util.List<FromServer.Header<?>> getHeaders()
FromServerRetrieves a List of the response headers as (FromServer.Header objects).
getHeaders in interface FromServerList of response headerspublic boolean getHasBody()
FromServerDetermines whether or not there is body content in the response.
getHasBody in interface FromServerpublic java.net.URI getUri()
FromServerRetrieves the URI of the original request.
getUri in interface FromServerURI of the original requestpublic void finish()
FromServerPerforms any client-specific response finishing operations.
finish in interface FromServer