|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.engine.http.HttpCall
org.restlet.engine.http.HttpServerCall
org.restlet.ext.jetty.JettyCall
public class JettyCall
Call that is used by the Jetty 6 HTTP server connector.
| Constructor Summary | |
|---|---|
JettyCall(Server server,
HttpConnection connection)
Constructor. |
|
| Method Summary | |
|---|---|
void |
complete()
|
String |
getClientAddress()
|
int |
getClientPort()
|
HttpConnection |
getConnection()
Returns the wrapped Jetty HTTP connection. |
String |
getMethod()
Returns the request method. |
ReadableByteChannel |
getRequestEntityChannel(long size)
|
InputStream |
getRequestEntityStream(long size)
|
ReadableByteChannel |
getRequestHeadChannel()
|
Series<Parameter> |
getRequestHeaders()
Returns the list of request headers. |
InputStream |
getRequestHeadStream()
|
String |
getRequestUri()
Returns the URI on the request line (most like a relative reference, but not necessarily). |
WritableByteChannel |
getResponseEntityChannel()
Returns the response channel if it exists. |
OutputStream |
getResponseEntityStream()
Returns the response stream if it exists. |
String |
getServerAddress()
Returns the response address. Corresponds to the IP address of the responding server. |
String |
getSslCipherSuite()
|
List<Certificate> |
getSslClientCertificates()
|
Integer |
getSslKeySize()
|
boolean |
isConfidential()
Indicates if the request was made using a confidential mean. |
boolean |
isConnectionBroken(Exception exception)
|
void |
sendResponse(Response response)
|
| Methods inherited from class org.restlet.engine.http.HttpServerCall |
|---|
formatContentDisposition, getContentLength, getHostDomain, getHostPort, getRequestEntity, isClientKeepAlive, isServerKeepAlive, readRequestHead, shouldResponseBeChunked, writeResponseBody, writeResponseHead, writeResponseHead |
| Methods inherited from class org.restlet.engine.http.HttpCall |
|---|
formatDate, getConnectorService, getContentLength, getLogger, getProtocol, getReasonPhrase, getResponseHeaders, getServerPort, getStatusCode, getVersion, 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 |
| Constructor Detail |
|---|
public JettyCall(Server server,
HttpConnection connection)
server - The parent server.connection - The wrapped Jetty HTTP connection.| Method Detail |
|---|
public void complete()
complete in class HttpServerCallpublic String getClientAddress()
getClientAddress in class HttpCallpublic int getClientPort()
getClientPort in class HttpCallpublic HttpConnection getConnection()
public String getMethod()
getMethod in class HttpCallpublic ReadableByteChannel getRequestEntityChannel(long size)
getRequestEntityChannel in class HttpServerCallpublic InputStream getRequestEntityStream(long size)
getRequestEntityStream in class HttpServerCallpublic ReadableByteChannel getRequestHeadChannel()
getRequestHeadChannel in class HttpServerCallpublic Series<Parameter> getRequestHeaders()
getRequestHeaders in class HttpCallpublic InputStream getRequestHeadStream()
getRequestHeadStream in class HttpServerCallpublic String getRequestUri()
getRequestUri in class HttpCallpublic WritableByteChannel getResponseEntityChannel()
getResponseEntityChannel in class HttpServerCallpublic OutputStream getResponseEntityStream()
getResponseEntityStream in class HttpServerCallpublic String getServerAddress()
getServerAddress in class HttpCallpublic String getSslCipherSuite()
getSslCipherSuite in class HttpServerCallpublic List<Certificate> getSslClientCertificates()
getSslClientCertificates in class HttpServerCallpublic Integer getSslKeySize()
getSslKeySize in class HttpServerCallpublic boolean isConfidential()
isConfidential in class HttpCallpublic boolean isConnectionBroken(Exception exception)
isConnectionBroken in class HttpCall
public void sendResponse(Response response)
throws IOException
sendResponse in class HttpServerCallIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||