Package | Description |
---|---|
winstone | |
winstone.accesslog | |
winstone.ajp13 | |
winstone.ssl |
Modifier and Type | Method and Description |
---|---|
WinstoneRequest |
WinstoneResponse.getRequest() |
WinstoneRequest |
ObjectPool.getRequestFromPool()
An attempt at pooling request objects for reuse.
|
protected WinstoneRequest |
RequestDispatcher.getUnwrappedRequest(ServletRequest request)
Unwrap back to the original container allocated request object
|
Modifier and Type | Method and Description |
---|---|
void |
WinstoneSession.addUsed(WinstoneRequest request) |
void |
Listener.deallocateRequestResponse(RequestHandlerThread handler,
WinstoneRequest req,
WinstoneResponse rsp,
WinstoneInputStream inData,
WinstoneOutputStream outData)
Called by the request handler thread, because it needs specific shutdown
code for this connection's protocol (ie releasing input/output streams,
etc).
|
void |
HttpListener.deallocateRequestResponse(RequestHandlerThread handler,
WinstoneRequest req,
WinstoneResponse rsp,
WinstoneInputStream inData,
WinstoneOutputStream outData)
Called by the request handler thread, because it needs specific shutdown
code for this connection's protocol (ie releasing input/output streams,
etc).
|
void |
WinstoneResponse.extractRequestKeepAliveHeader(WinstoneRequest req) |
RequestDispatcher |
WebAppConfiguration.getInitialDispatcher(java.lang.String uriInsideWebapp,
WinstoneRequest request,
WinstoneResponse response)
Creates the dispatcher that corresponds to a request level dispatch (ie
the initial entry point).
|
void |
AccessLogger.log(java.lang.String originalURL,
WinstoneRequest request,
WinstoneResponse response) |
void |
HttpListener.parseHeaders(WinstoneRequest req,
WinstoneInputStream inData)
Parse the incoming stream into a list of headers (stopping at the first
blank line), then call the parseHeaders(req, list) method on that list.
|
protected void |
HttpListener.parseSocketInfo(java.net.Socket socket,
WinstoneRequest req) |
java.lang.String |
Listener.parseURI(RequestHandlerThread handler,
WinstoneRequest req,
WinstoneResponse rsp,
WinstoneInputStream inData,
java.net.Socket socket,
boolean iAmFirst)
Called by the request handler thread, because it needs specific shutdown
code for this connection's protocol if the keep-alive period expires (ie
closing sockets, etc).The iAmFirst variable identifies whether or
not this is the initial request on on this socket (ie a keep alive or
a first-time accept)
|
java.lang.String |
HttpListener.parseURI(RequestHandlerThread handler,
WinstoneRequest req,
WinstoneResponse rsp,
WinstoneInputStream inData,
java.net.Socket socket,
boolean iAmFirst) |
boolean |
Listener.processKeepAlive(WinstoneRequest request,
WinstoneResponse response,
java.io.InputStream inSocket)
Tries to wait for extra requests on the same socket.
|
boolean |
HttpListener.processKeepAlive(WinstoneRequest request,
WinstoneResponse response,
java.io.InputStream inSocket)
Tries to wait for extra requests on the same socket.
|
void |
ObjectPool.releaseRequestToPool(WinstoneRequest req) |
void |
WinstoneSession.removeUsed(WinstoneRequest request) |
void |
RequestHandlerThread.setRequest(WinstoneRequest request) |
void |
WinstoneResponse.setRequest(WinstoneRequest req) |
protected void |
RequestHandlerThread.writeToAccessLog(java.lang.String originalURL,
WinstoneRequest request,
WinstoneResponse response,
WebAppConfiguration webAppConfig) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleAccessLogger.log(java.lang.String originalURL,
WinstoneRequest request,
WinstoneResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
Ajp13Listener.deallocateRequestResponse(RequestHandlerThread handler,
WinstoneRequest req,
WinstoneResponse rsp,
WinstoneInputStream inData,
WinstoneOutputStream outData)
Called by the request handler thread, because it needs specific shutdown
code for this connection's protocol (ie releasing input/output streams,
etc).
|
java.lang.String |
Ajp13Listener.parseURI(RequestHandlerThread handler,
WinstoneRequest req,
WinstoneResponse rsp,
WinstoneInputStream inData,
java.net.Socket socket,
boolean iAmFirst)
This is kind of a hack, since we have already parsed the uri to get the
input stream.
|
boolean |
Ajp13Listener.processKeepAlive(WinstoneRequest request,
WinstoneResponse response,
java.io.InputStream inSocket)
Tries to wait for extra requests on the same socket.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HttpsListener.parseSocketInfo(java.net.Socket socket,
WinstoneRequest req)
Extracts the relevant socket stuff and adds it to the request object.
|
Copyright © 2014. All Rights Reserved.