|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.noelios.restlet.http.HttpCall
com.noelios.restlet.http.HttpServerCall
com.noelios.restlet.ext.simple.SimpleCall
public class SimpleCall
Call that is used by the Simple HTTP server.
Method Summary | |
---|---|
String |
getClientAddress()
|
int |
getClientPort()
|
String |
getMethod()
Returns the request method. |
ReadableByteChannel |
getRequestChannel()
Returns the request entity channel if it exists. |
Series<Parameter> |
getRequestHeaders()
Returns the list of request headers. |
InputStream |
getRequestStream()
Returns the request entity stream if it exists. |
String |
getRequestUri()
Returns the full request URI. |
WritableByteChannel |
getResponseChannel()
Returns the response channel if it exists. |
OutputStream |
getResponseStream()
Returns the response stream if it exists. |
String |
getVersion()
|
void |
writeResponseHead(Response restletResponse)
|
Methods inherited from class com.noelios.restlet.http.HttpServerCall |
---|
getHostDomain, getHostPort, getRequestEntity, readRequestHead, sendResponse, writeResponseBody, writeResponseHead |
Methods inherited from class com.noelios.restlet.http.HttpCall |
---|
formatDate, getConnectorService, getLogger, getProtocol, getReasonPhrase, getResponseHeaders, getServerAddress, getServerPort, getStatusCode, isConfidential, parseDate, setClientAddress, setClientPort, setConfidential, setHostDomain, setHostPort, setLogger, setMethod, setProtocol, setReasonPhrase, setRequestUri, setServerAddress, setServerPort, setStatusCode, setVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getClientAddress()
getClientAddress
in class HttpCall
public int getClientPort()
getClientPort
in class HttpCall
public String getMethod()
getMethod
in class HttpCall
public ReadableByteChannel getRequestChannel()
getRequestChannel
in class HttpServerCall
public Series<Parameter> getRequestHeaders()
getRequestHeaders
in class HttpCall
public InputStream getRequestStream()
getRequestStream
in class HttpServerCall
public String getRequestUri()
getRequestUri
in class HttpCall
public WritableByteChannel getResponseChannel()
getResponseChannel
in class HttpServerCall
public OutputStream getResponseStream()
getResponseStream
in class HttpServerCall
public String getVersion()
getVersion
in class HttpCall
public void writeResponseHead(Response restletResponse) throws IOException
writeResponseHead
in class HttpServerCall
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |