com.sun.grizzly.ssl
Class SSLAsyncProcessorTask

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

public class SSLAsyncProcessorTask
extends SSLDefaultProcessorTask

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
SSLAsyncProcessorTask()
           
SSLAsyncProcessorTask(boolean init, boolean bufferResponse)
           
 
Method Summary
 SSLAsyncOutputBuffer getSSLAsyncOutputBuffer()
          Retunr the SSLAsyncOutputBuffer
 void initialize()
          Initialize the stream and the buffer used to parse the request.
 
Methods inherited from class com.sun.grizzly.ssl.SSLDefaultProcessorTask
action
 
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

SSLAsyncProcessorTask

public SSLAsyncProcessorTask()

SSLAsyncProcessorTask

public SSLAsyncProcessorTask(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 SSLDefaultProcessorTask

getSSLAsyncOutputBuffer

public SSLAsyncOutputBuffer getSSLAsyncOutputBuffer()
Retunr the SSLAsyncOutputBuffer



Copyright © 2011 SUN Microsystems. All Rights Reserved.