|
||||||||||
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 | |
---|---|
void |
complete()
|
java.lang.String |
getClientAddress()
|
int |
getClientPort()
|
java.lang.String |
getMethod()
Returns the request method. |
java.nio.channels.ReadableByteChannel |
getRequestEntityChannel(long size)
|
java.io.InputStream |
getRequestEntityStream(long size)
|
java.nio.channels.ReadableByteChannel |
getRequestHeadChannel()
|
Series<Parameter> |
getRequestHeaders()
Returns the list of request headers. |
java.io.InputStream |
getRequestHeadStream()
|
java.lang.String |
getRequestUri()
Returns the full request URI. |
java.nio.channels.WritableByteChannel |
getResponseEntityChannel()
Returns the response channel if it exists. |
java.io.OutputStream |
getResponseEntityStream()
Returns the response stream if it exists. |
java.lang.String |
getSslCipherSuite()
|
java.util.List<java.security.cert.Certificate> |
getSslClientCertificates()
|
java.lang.String |
getVersion()
|
void |
writeResponseHead(Response restletResponse)
|
Methods inherited from class com.noelios.restlet.http.HttpServerCall |
---|
formatContentDisposition, getContentLength, getHostDomain, getHostPort, getRequestEntity, getSslKeySize, isClientKeepAlive, isServerKeepAlive, readRequestHead, sendResponse, shouldResponseBeChunked, writeResponseBody, writeResponseHead |
Methods inherited from class com.noelios.restlet.http.HttpCall |
---|
formatDate, getConnectorService, getContentLength, getLogger, getProtocol, getReasonPhrase, getResponseHeaders, getServerAddress, getServerPort, getStatusCode, isConfidential, isConnectionBroken, isKeepAlive, isRequestChunked, isResponseChunked, parseDate, setClientAddress, setClientPort, setConfidential, setHostDomain, setHostPort, 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 void complete()
complete
in class HttpServerCall
public java.lang.String getClientAddress()
getClientAddress
in class HttpCall
public int getClientPort()
getClientPort
in class HttpCall
public java.lang.String getMethod()
getMethod
in class HttpCall
public java.nio.channels.ReadableByteChannel getRequestEntityChannel(long size)
getRequestEntityChannel
in class HttpServerCall
public java.io.InputStream getRequestEntityStream(long size)
getRequestEntityStream
in class HttpServerCall
public java.nio.channels.ReadableByteChannel getRequestHeadChannel()
getRequestHeadChannel
in class HttpServerCall
public Series<Parameter> getRequestHeaders()
getRequestHeaders
in class HttpCall
public java.io.InputStream getRequestHeadStream()
getRequestHeadStream
in class HttpServerCall
public java.lang.String getRequestUri()
getRequestUri
in class HttpCall
public java.nio.channels.WritableByteChannel getResponseEntityChannel()
getResponseEntityChannel
in class HttpServerCall
public java.io.OutputStream getResponseEntityStream()
getResponseEntityStream
in class HttpServerCall
public java.lang.String getSslCipherSuite()
getSslCipherSuite
in class HttpServerCall
public java.util.List<java.security.cert.Certificate> getSslClientCertificates()
getSslClientCertificates
in class HttpServerCall
public java.lang.String getVersion()
getVersion
in class HttpCall
public void writeResponseHead(Response restletResponse) throws java.io.IOException
writeResponseHead
in class HttpServerCall
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |