public class JettyHttpsExchange extends com.sun.net.httpserver.HttpsExchange implements JettyExchange
Constructor and Description |
---|
JettyHttpsExchange(com.sun.net.httpserver.HttpContext jaxWsContext,
HttpServletRequest req,
HttpServletResponse resp) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
equals(Object obj) |
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() |
SSLSession |
getSSLSession() |
int |
hashCode() |
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) |
String |
toString() |
public JettyHttpsExchange(com.sun.net.httpserver.HttpContext jaxWsContext, HttpServletRequest req, HttpServletResponse resp)
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 interface JettyExchange
getPrincipal
in class com.sun.net.httpserver.HttpExchange
public void setPrincipal(com.sun.net.httpserver.HttpPrincipal principal)
setPrincipal
in interface JettyExchange
public SSLSession getSSLSession()
getSSLSession
in class com.sun.net.httpserver.HttpsExchange
HttpsExchange.getSSLSession()
Copyright © 1995-2015 Webtide. All Rights Reserved.