| Modifier and Type | Field and Description |
|---|---|
| pack-priv ExchangeImpl |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements abstract com. Implements java. Ends this exchange by doing the following in sequence:
|
| public Object | getAttribute(String name)
Implements abstract com.
|
| pack-priv ExchangeImpl | |
| public HttpContextImpl | getHttpContext()
Implements abstract com. Returns the |
| public InetSocketAddress | getLocalAddress()
Implements abstract com. Returns the local address on which the request was received. |
| public HttpPrincipal | getPrincipal()
Implements abstract com. If an authenticator is set on the |
| public String | getProtocol()
Implements abstract com. Returns the protocol string from the request in the form protocol/majorVersion.minorVersion. |
| public InetSocketAddress | getRemoteAddress()
Implements abstract com. Returns the address of the remote entity invoking this request. |
| public InputStream | getRequestBody()
Implements abstract com. Returns a stream from which the request body can be read. |
| public Headers | getRequestHeaders()
Implements abstract com. Implements com. Returns an immutable |
| public String | getRequestMethod()
Implements abstract com. Implements com. Returns the request method. |
| public URI | getRequestURI()
Implements abstract com. Implements com. Returns the request |
| public OutputStream | getResponseBody()
Implements abstract com. Returns a stream to which the response body must be written. |
| public int | getResponseCode()
Implements abstract com. Returns the response code, if it has already been set. |
| public Headers | getResponseHeaders()
Implements abstract com. Returns a mutable |
| public SSLSession | getSSLSession()
Implements abstract com. Get the |
| public void | sendResponseHeaders(int rCode, long contentLen)
Implements abstract com. Starts sending the response back to the client using the current set of response headers and the numeric response code as specified in this method. |
| public void | setAttribute(String name, Object value)
Implements abstract com.
|
| public void | setStreams(InputStream i, OutputStream o)
Implements abstract com. Used by Filters to wrap either
(or both) of this exchange's |
| impl | back to summary |
|---|---|
| pack-priv ExchangeImpl impl | |
| HttpsExchangeImpl | back to summary |
|---|---|
| pack-priv HttpsExchangeImpl(ExchangeImpl impl) throws IOException | |
| close | back to summary |
|---|---|
| public void close() Implements abstract com. Implements java. Doc from com. Ends this exchange by doing the following in sequence:
| |
| getAttribute | back to summary |
|---|---|
| public Object getAttribute(String name) Implements abstract com. Doc from com.
Each | |
| getExchangeImpl | back to summary |
|---|---|
| pack-priv ExchangeImpl getExchangeImpl() | |
| getHttpContext | back to summary |
|---|---|
| public HttpContextImpl getHttpContext() Implements abstract com. Doc from com. Returns the | |
| getLocalAddress | back to summary |
|---|---|
| public InetSocketAddress getLocalAddress() Implements abstract com. Doc from com. Returns the local address on which the request was received. | |
| getPrincipal | back to summary |
|---|---|
| public HttpPrincipal getPrincipal() Implements abstract com. Doc from com. If an authenticator is set on the | |
| getProtocol | back to summary |
|---|---|
| public String getProtocol() Implements abstract com. Doc from com. Returns the protocol string from the request in the form
protocol/majorVersion.minorVersion. For example,
" | |
| getRemoteAddress | back to summary |
|---|---|
| public InetSocketAddress getRemoteAddress() Implements abstract com. Doc from com. Returns the address of the remote entity invoking this request. | |
| getRequestBody | back to summary |
|---|---|
| public InputStream getRequestBody() Implements abstract com. Doc from com. Returns a stream from which the request body can be read.
Multiple calls to this method will return the same stream.
It is recommended that applications should consume (read) all of the data
from this stream before closing it. If a stream is closed before all data
has been read, then the | |
| getRequestHeaders | back to summary |
|---|---|
| public Headers getRequestHeaders() Implements abstract com. Implements com. Doc from com. Returns an immutable The keys in this The keys in | |
| getRequestMethod | back to summary |
|---|---|
| public String getRequestMethod() Implements abstract com. Implements com. Doc from com. Returns the request method. | |
| getRequestURI | back to summary |
|---|---|
| public URI getRequestURI() Implements abstract com. Implements com. Doc from com. Returns the request | |
| getResponseBody | back to summary |
|---|---|
| public OutputStream getResponseBody() Implements abstract com. Doc from com. Returns a stream to which the response body must be
written. Closing this stream implicitly closes the If the call to | |
| getResponseCode | back to summary |
|---|---|
| public int getResponseCode() Implements abstract com. Doc from com. Returns the response code, if it has already been set. | |
| getResponseHeaders | back to summary |
|---|---|
| public Headers getResponseHeaders() Implements abstract com. Doc from com. Returns a mutable The keys in the The keys in | |
| getSSLSession | back to summary |
|---|---|
| public SSLSession getSSLSession() Implements abstract com. Doc from com. Get the | |
| sendResponseHeaders | back to summary |
|---|---|
| public void sendResponseHeaders(int rCode, long contentLen) throws IOException Implements abstract com. Doc from com. Starts sending the response back to the client using the current set of
response headers and the numeric response code as specified in this
method. The response body length is also specified as follows. If the
response length parameter is greater than If the content-length response header has not already been set then this is set to the appropriate value depending on the response length parameter. This method must be called prior to calling
| |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(String name, Object value) Implements abstract com. Doc from com.
Each | |
| setStreams | back to summary |
|---|---|
| public void setStreams(InputStream i, OutputStream o) Implements abstract com. Doc from com. Used by Filters to wrap either
(or both) of this exchange's | |