com.sun.grizzly.ssl
Class SSLDefaultProcessorTask

java.lang.Object
  extended by com.sun.grizzly.http.TaskBase
      extended by com.sun.grizzly.http.DefaultProcessorTask
          extended by com.sun.grizzly.ssl.SSLDefaultProcessorTask
All Implemented Interfaces:
ProcessorTask, Task, TaskListener, ActionHook, Processor, Runnable, Callable
Direct Known Subclasses:
SSLAsyncProcessorTask

public class SSLDefaultProcessorTask
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

Field Summary
 
Fields inherited from class com.sun.grizzly.http.DefaultProcessorTask
adapter, asyncExecution, asyncHandler, bufferResponse, compressableMimeTypes, compressionLevel, compressionMinSize, connectionHeaderValueSet, contentDelimitation, defaultResponseType, disableUploadTimeout, dropConnection, error, forcedRequestType, handler, hasRequestInfoRegistered, hostNameC, http09, http11, inputBuffer, inputStream, keepAlive, keepAliveLeft, localAddr, localName, localPort, maxHttpHeaderSize, maxPostSize, noCompressionUserAgents, oname, outputBuffer, outputStream, remoteAddr, remoteHost, remotePort, request, requestBufferSize, requestCount, requestInfo, response, restrictedUserAgents, socket, sslSupport, started, uploadTimeout
 
Fields inherited from class com.sun.grizzly.http.TaskBase
key, listeners, pipeline, recycle, selectorThread, type
 
Fields inherited from interface com.sun.grizzly.http.Task
ACCEPT_TASK, PROCESSOR_TASK, READ_TASK
 
Constructor Summary
SSLDefaultProcessorTask()
           
SSLDefaultProcessorTask(boolean init, boolean bufferResponse)
           
 
Method Summary
 void action(ActionCode actionCode, Object param)
          Send an action to the connector.
 void initialize()
          Initialize the stream and the buffer used to parse the request.
 
Methods inherited from class com.sun.grizzly.http.DefaultProcessorTask
addCompressableMimeType, addFilter, addInputFilter, addNoCompressionUserAgent, addRestrictedUserAgent, configPreProcess, doProcess, doProcess, doTask, findBytes, findCompressableMimeTypes, findNoCompressionUserAgents, findRestrictedUserAgents, getAdapter, getAsyncHandler, getBufferSize, getCompression, getCompressionMinSize, getDefaultResponseType, getDisableUploadTimeout, getDropConnection, getForcedRequestType, getHandler, getInputStream, 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, setHandler, setInputStream, setMaxHttpHeaderSize, setMaxPostSize, setNoCompressionUserAgents, setRestrictedUserAgents, setSocket, setSSLSupport, setTimeout, statusDropsConnection, terminateProcess
 
Methods inherited from class com.sun.grizzly.http.TaskBase
addTaskListener, call, cancelTask, clearTaskListeners, execute, fireTaskEvent, getKeepAliveStats, getPipeline, getRecycle, getRequestGroupInfo, getSelectionKey, getSelectorThread, getTaskListeners, getType, isMonitoringEnabled, removeTaskListener, run, setPipeline, setRecycle, setSelectionKey, setSelectorThread, taskEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.grizzly.http.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
 

Constructor Detail

SSLDefaultProcessorTask

public SSLDefaultProcessorTask()

SSLDefaultProcessorTask

public SSLDefaultProcessorTask(boolean init,
                               boolean bufferResponse)
Method Detail

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 action
param - Action parameter


Copyright © 2008 SUN Microsystems. All Rights Reserved.