org.eclipse.jetty.http.spi
类 JettyHttpExchange
java.lang.Object
com.sun.net.httpserver.HttpExchange
org.eclipse.jetty.http.spi.JettyHttpExchange
- 所有已实现的接口:
- JettyExchange
public class JettyHttpExchange
- extends com.sun.net.httpserver.HttpExchange
- implements JettyExchange
JettyHttpExchange
public JettyHttpExchange(com.sun.net.httpserver.HttpContext jaxWsContext,
HttpServletRequest req,
HttpServletResponse resp)
hashCode
public int hashCode()
- 覆盖:
- 类
Object 中的 hashCode
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#hashCode()
getRequestHeaders
public com.sun.net.httpserver.Headers getRequestHeaders()
- 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 getRequestHeaders
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#getRequestHeaders()
getResponseHeaders
public com.sun.net.httpserver.Headers getResponseHeaders()
- 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 getResponseHeaders
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#getResponseHeaders()
getRequestURI
public URI getRequestURI()
- 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 getRequestURI
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#getRequestURI()
getRequestMethod
public String getRequestMethod()
- 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 getRequestMethod
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#getRequestMethod()
getHttpContext
public com.sun.net.httpserver.HttpContext getHttpContext()
- 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 getHttpContext
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#getHttpContext()
close
public void close()
- 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 close
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#close()
equals
public boolean equals(Object obj)
- 覆盖:
- 类
Object 中的 equals
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#equals(java.lang.Object)
getRequestBody
public InputStream getRequestBody()
- 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 getRequestBody
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#getRequestBody()
getResponseBody
public OutputStream getResponseBody()
- 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 getResponseBody
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#getResponseBody()
sendResponseHeaders
public void sendResponseHeaders(int rCode,
long responseLength)
throws IOException
- 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 sendResponseHeaders
- 抛出:
IOException- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#sendResponseHeaders(int, long)
getRemoteAddress
public InetSocketAddress getRemoteAddress()
- 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 getRemoteAddress
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#getRemoteAddress()
getResponseCode
public int getResponseCode()
- 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 getResponseCode
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#getResponseCode()
getLocalAddress
public InetSocketAddress getLocalAddress()
- 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 getLocalAddress
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#getLocalAddress()
getProtocol
public String getProtocol()
- 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 getProtocol
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#getProtocol()
getAttribute
public Object getAttribute(String name)
- 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 getAttribute
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#getAttribute(java.lang.String)
setAttribute
public void setAttribute(String name,
Object value)
- 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 setAttribute
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#setAttribute(java.lang.String, java.lang.Object)
setStreams
public void setStreams(InputStream i,
OutputStream o)
- 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 setStreams
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#setStreams(java.io.InputStream, java.io.OutputStream)
getPrincipal
public com.sun.net.httpserver.HttpPrincipal getPrincipal()
- 指定者:
- 接口
JettyExchange 中的 getPrincipal - 指定者:
- 类
com.sun.net.httpserver.HttpExchange 中的 getPrincipal
- 另请参见:
JettyExchange.getPrincipal()
setPrincipal
public void setPrincipal(com.sun.net.httpserver.HttpPrincipal principal)
- 指定者:
- 接口
JettyExchange 中的 setPrincipal
- 另请参见:
JettyExchange.setPrincipal(com.sun.net.httpserver.HttpPrincipal)
toString
public String toString()
- 覆盖:
- 类
Object 中的 toString
- 另请参见:
org.eclipse.jetty.http.spi.JettyExchange#toString()
Copyright © 2013. All Rights Reserved.