com.sun.enterprise.web.connector.grizzly.ssl
Class SSLProcessorTask
java.lang.Object
com.sun.enterprise.web.connector.grizzly.TaskBase
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask
com.sun.enterprise.web.connector.grizzly.ssl.SSLProcessorTask
- All Implemented Interfaces:
- ProcessorTask, Task, TaskListener, Runnable, Callable, ActionHook, Processor
- Direct Known Subclasses:
- SSLAsyncProcessorTask
public class SSLProcessorTask
- extends DefaultProcessorTask
Simple ProcessorTask that configure the outputBuffer
using an instance of SSLOutputBuffer. All the request/response
operations are delegated to the ProcessorTask
- Author:
- Jeanfrancois Arcand
| Fields inherited from class com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask |
adapter, asyncExecution, asyncHandler, bufferResponse, compressableMimeTypes, compressionLevel, compressionMinSize, connectionHeaderValueSet, contentDelimitation, defaultResponseType, disableUploadTimeout, dropConnection, error, forcedRequestType, handler, hasRequestInfoRegistered, hostNameC, http09, http11, inputBuffer, keepAlive, keepAliveLeft, localAddr, localName, localPort, maxHttpHeaderSize, maxKeepAliveRequests, maxPostSize, noCompressionUserAgents, oname, outputBuffer, remoteAddr, remoteHost, remotePort, request, requestBufferSize, requestCount, requestInfo, response, restrictedUserAgents, socket, sslSupport, started, taskContext, taskEvent, uploadTimeout |
| Methods inherited from class com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask |
addCompressableMimeType, addFilter, addInputFilter, addNoCompressionUserAgent, addRestrictedUserAgent, configPreProcess, doProcess, doProcess, doTask, findBytes, findCompressableMimeTypes, findNoCompressionUserAgents, findRestrictedUserAgents, getAdapter, getAsyncHandler, getBufferSize, getCompression, getCompressionMinSize, getDefaultResponseType, getDisableUploadTimeout, getDropConnection, getForcedRequestType, getHandler, getMaxHttpHeaderSize, getMaxPostSize, getRequest, getRequestURI, getSocket, getSSLSupport, getTimeout, getWorkerThreadID, initializeFilters, invokeAdapter, isAsyncExecutionEnabled, isError, isKeepAlive, parseHost, parseRequest, parseRequest, postProcess, postProcess, postResponse, prepareRequest, prepareResponse, preProcess, preProcess, process, recycle, setAdapter, setAsyncHandler, setBufferSize, setCompressableMimeType, setCompressableMimeTypes, setCompressableMimeTypes, setCompression, setCompressionMinSize, setConnectionHeaderValueSet, setDefaultResponseType, setDisableUploadTimeout, setDropConnection, setEnableAsyncExecution, setError, setForcedRequestType, setForceKeepAlive, setHandler, setMaxHttpHeaderSize, setMaxPostSize, setNoCompressionUserAgents, setRestrictedUserAgents, setSocket, setSSLSupport, setTimeout, statusDropsConnection, taskEvent, terminateProcess |
| Methods inherited from class com.sun.enterprise.web.connector.grizzly.TaskBase |
addTaskListener, call, cancelTask, clearTaskListeners, execute, fireTaskEvent, getKeepAliveStats, getPipeline, getRecycle, getRequestGroupInfo, getSelectionKey, getSelectorThread, getTaskListeners, getType, isMonitoringEnabled, removeTaskListener, run, setPipeline, setRecycle, setSelectionKey, setSelectorThread |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.enterprise.web.connector.grizzly.Task |
addTaskListener, cancelTask, clearTaskListeners, execute, getKeepAliveStats, getPipeline, getRecycle, getRequestGroupInfo, getSelectionKey, getSelectorThread, getTaskListeners, getType, isMonitoringEnabled, removeTaskListener, setPipeline, setRecycle, setSelectionKey, setSelectorThread |
| Methods inherited from interface java.lang.Runnable |
run |
| Methods inherited from interface java.util.concurrent.Callable |
call |
SSLProcessorTask
public SSLProcessorTask()
SSLProcessorTask
public SSLProcessorTask(boolean init,
boolean bufferResponse)
initialize
public void initialize()
- Initialize the stream and the buffer used to parse the request.
- Specified by:
initialize in interface ProcessorTask- Overrides:
initialize in class DefaultProcessorTask
action
public void action(ActionCode actionCode,
Object param)
- Send an action to the connector.
- Specified by:
action in interface ActionHook- Overrides:
action in class DefaultProcessorTask
- Parameters:
actionCode - Type of the actionparam - Action parameter
setSslReadTask
public void setSslReadTask(SSLReadTask sslReadTask)
- Set the
SSLReadTask associated with this instance. The
SSLReadTask is needed when handling peer certificate chain.
getSecureOutputBuffer
public SecureOuputBuffer getSecureOutputBuffer()
- Retunr the
SSLAsyncOutputBuffer
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.