public class JettyHttpExchangeDelegate
extends com.sun.net.httpserver.HttpExchange
HttpExchange
Modifier and Type | Method and Description |
---|---|
void |
close() |
Object |
getAttribute(String name) |
com.sun.net.httpserver.HttpContext |
getHttpContext() |
InetSocketAddress |
getLocalAddress() |
com.sun.net.httpserver.HttpPrincipal |
getPrincipal() |
String |
getProtocol() |
InetSocketAddress |
getRemoteAddress() |
InputStream |
getRequestBody() |
com.sun.net.httpserver.Headers |
getRequestHeaders() |
String |
getRequestMethod() |
URI |
getRequestURI() |
OutputStream |
getResponseBody() |
int |
getResponseCode() |
com.sun.net.httpserver.Headers |
getResponseHeaders() |
void |
sendResponseHeaders(int rCode,
long responseLength) |
void |
setAttribute(String name,
Object value) |
void |
setPrincipal(com.sun.net.httpserver.HttpPrincipal principal) |
void |
setStreams(InputStream i,
OutputStream o) |
public com.sun.net.httpserver.Headers getRequestHeaders()
getRequestHeaders
in class com.sun.net.httpserver.HttpExchange
public com.sun.net.httpserver.Headers getResponseHeaders()
getResponseHeaders
in class com.sun.net.httpserver.HttpExchange
public URI getRequestURI()
getRequestURI
in class com.sun.net.httpserver.HttpExchange
public String getRequestMethod()
getRequestMethod
in class com.sun.net.httpserver.HttpExchange
public com.sun.net.httpserver.HttpContext getHttpContext()
getHttpContext
in class com.sun.net.httpserver.HttpExchange
public void close()
close
in class com.sun.net.httpserver.HttpExchange
public InputStream getRequestBody()
getRequestBody
in class com.sun.net.httpserver.HttpExchange
public OutputStream getResponseBody()
getResponseBody
in class com.sun.net.httpserver.HttpExchange
public void sendResponseHeaders(int rCode, long responseLength) throws IOException
sendResponseHeaders
in class com.sun.net.httpserver.HttpExchange
IOException
public InetSocketAddress getRemoteAddress()
getRemoteAddress
in class com.sun.net.httpserver.HttpExchange
public int getResponseCode()
getResponseCode
in class com.sun.net.httpserver.HttpExchange
public InetSocketAddress getLocalAddress()
getLocalAddress
in class com.sun.net.httpserver.HttpExchange
public String getProtocol()
getProtocol
in class com.sun.net.httpserver.HttpExchange
public Object getAttribute(String name)
getAttribute
in class com.sun.net.httpserver.HttpExchange
public void setAttribute(String name, Object value)
setAttribute
in class com.sun.net.httpserver.HttpExchange
public void setStreams(InputStream i, OutputStream o)
setStreams
in class com.sun.net.httpserver.HttpExchange
public com.sun.net.httpserver.HttpPrincipal getPrincipal()
getPrincipal
in class com.sun.net.httpserver.HttpExchange
public void setPrincipal(com.sun.net.httpserver.HttpPrincipal principal)
Copyright © 1995-2015 Webtide. All Rights Reserved.