com.sun.grizzly.ssl
Class SSLProcessorTask

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

public class SSLProcessorTask
extends ProcessorTask

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.ProcessorTask
adapter, asyncExecution, asyncHandler, bufferResponse, compressableMimeTypes, compressionLevel, compressionMinSize, connectionHeaderValueSet, contentDelimitation, defaultResponseType, disableUploadTimeout, dropConnection, error, forcedRequestType, handler, hasRequestInfoRegistered, hostNameC, http09, http11, inputBuffer, inputStream, isAsyncHttpWriteEnabled, keepAlive, keepAliveLeft, localAddr, localName, localPort, maxHttpHeaderSize, maxPostSize, noCompressionUserAgents, oname, outputBuffer, outputStream, remoteAddr, remoteHost, remotePort, request, requestBufferSize, requestCount, requestInfo, response, restrictedUserAgents, sm, socket, sslSupport, started, uploadTimeout
 
Fields inherited from class com.sun.grizzly.http.TaskBase
key, selectorHandler, selectorThread, threadPool, type
 
Fields inherited from interface com.sun.grizzly.http.Task
ACCEPT_TASK, PROCESSOR_TASK, READ_TASK
 
Constructor Summary
SSLProcessorTask()
           
SSLProcessorTask(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.ProcessorTask
addCompressableMimeType, addFilter, addInputFilter, addNoCompressionUserAgent, addRestrictedUserAgent, configPreProcess, doProcess, doTask, findBytes, findCompressableMimeTypes, findNoCompressionUserAgents, findRestrictedUserAgents, getAdapter, getAsyncHandler, getBufferSize, getCompression, getCompressionMinSize, getDefaultResponseType, getDisableUploadTimeout, getDropConnection, getForcedRequestType, getHandler, getInputStream, getMaxHttpHeaderSize, getMaxPostSize, getRequest, getRequestURI, getSSLSupport, getTimeout, getTransactionTimeout, getWorkerThreadID, initializeFilters, invokeAdapter, isAsyncExecutionEnabled, isAsyncHttpWriteEnabled, isCompressable, isError, isKeepAlive, isUseChunking, parseHost, parseRequest, postProcess, postResponse, prepareRequest, prepareResponse, preProcess, preProcess, process, recycle, setAdapter, setAsyncHandler, setAsyncHttpWriteEnabled, setBufferSize, setCompressableMimeType, setCompressableMimeTypes, setCompressableMimeTypes, setCompression, setCompressionMinSize, setConnectionHeaderValueSet, setDefaultResponseType, setDisableUploadTimeout, setDropConnection, setEnableAsyncExecution, setForcedRequestType, setHandler, setInputStream, setMaxHttpHeaderSize, setMaxPostSize, setNoCompressionUserAgents, setRestrictedUserAgents, setSocket, setSSLSupport, setTimeout, setTransactionTimeout, setUseChunking, statusDropsConnection, terminateProcess, unregisterMonitoring
 
Methods inherited from class com.sun.grizzly.http.TaskBase
call, execute, getSelectionKey, getSelectorHandler, getSelectorThread, getTaskListener, getThreadPool, getType, run, setSelectionKey, setSelectorHandler, setSelectorThread, setTaskListener, setThreadPool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLProcessorTask

public SSLProcessorTask()

SSLProcessorTask

public SSLProcessorTask(boolean init,
                        boolean bufferResponse)
Method Detail

initialize

public void initialize()
Initialize the stream and the buffer used to parse the request.

Overrides:
initialize in class ProcessorTask

action

public void action(ActionCode actionCode,
                   Object param)
Send an action to the connector.

Specified by:
action in interface ActionHook
Overrides:
action in class ProcessorTask
Parameters:
actionCode - Type of the action
param - Action parameter


Copyright © 2009 SUN Microsystems. All Rights Reserved.