com.sun.grizzly.ssl
Class SSLAsyncProcessorTask

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

public class SSLAsyncProcessorTask
extends SSLProcessorTask

Simple ProcessorTask that configure the OutputBuffer using an instance of SSLOutputBuffer. All the request/response operations are delegated to the ProcessorTask

Author:
Jeanfrancois Arcand

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.grizzly.http.ProcessorTask
ProcessorTask.PostProcessor
 
Field Summary
 
Fields inherited from class com.sun.grizzly.http.ProcessorTask
adapter, aptCancelKey, asyncExecution, asyncHandler, bufferResponse, compressableMimeTypes, compressionLevel, compressionMinSize, connectionHeaderValueSet, contentDelimitation, defaultResponseType, disableUploadTimeout, dropConnection, error, forcedRequestType, handleKeepAliveBlockingThread, hasRequestInfoRegistered, hostNameC, http09, http11, inputBuffer, inputStream, isAsyncHttpWriteEnabled, keepAlive, keepAliveLeft, localAddr, localName, localPort, maxHttpHeaderSize, maxKeepAliveRequests, maxPostSize, noCompressionUserAgents, oname, outputBuffer, outputStream, remoteAddr, remoteHost, remotePort, request, requestBufferSize, requestCount, requestInfo, reRegisterSelectionKey, response, restrictedUserAgents, sm, socket, sslSupport, started, streamAlgorithm, 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
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.SSLProcessorTask
action, preProcess
 
Methods inherited from class com.sun.grizzly.http.ProcessorTask
addCompressableMimeType, addFilter, addInputFilter, addNoCompressionUserAgent, addRestrictedUserAgent, configPreProcess, createRequest, createResponse, detectCompression, doProcess, doTask, findBytes, findCompressableMimeTypes, findNoCompressionUserAgents, findRestrictedUserAgents, finishResponse, getAdapter, getAptCancelKey, getAsyncHandler, getBufferSize, getCompression, getCompressionMinSize, getDefaultResponseType, getDisableUploadTimeout, getDropConnection, getForcedRequestType, getForceKeepAlive, getInputStream, getMaxHttpHeaderSize, getMaxPostSize, getRequest, getRequestURI, getReRegisterSelectionKey, getSendBufferSize, getSSLSupport, getStreamAlgorithm, getTimeout, getTransactionTimeout, getWorkerThreadID, hasNextRequest, initializeFilters, invokeAdapter, isAsyncExecutionEnabled, isAsyncHttpWriteEnabled, isError, isInitialized, isKeepAlive, isSkipPostExecute, isUseChunking, lookupCompressionFilter, messageDropConnection, parseHost, parseRequest, postProcess, postResponse, prepareForNextRequest, prepareRequest, prepareResponse, preProcess, process, recycle, setAdapter, setAptCancelKey, setAsyncHandler, setAsyncHttpWriteEnabled, setBufferSize, setCompressableMimeType, setCompressableMimeTypes, setCompressableMimeTypes, setCompression, setCompressionMinSize, setConnectionHeaderValueSet, setDefaultResponseType, setDisableUploadTimeout, setDropConnection, setEnableAsyncExecution, setForcedRequestType, setForceKeepAlive, setInputStream, setMaxHttpHeaderSize, setMaxPostSize, setNoCompressionUserAgents, setReRegisterSelectionKey, setRestrictedUserAgents, setSendBufferSize, setSocket, setSSLSupport, setStreamAlgorithm, setTimeout, setTransactionTimeout, setUseChunking, statusDropsConnection, terminateProcess, unregisterMonitoring
 
Methods inherited from class com.sun.grizzly.http.TaskBase
call, execute, 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

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.

Overrides:
initialize in class SSLProcessorTask

getSSLAsyncOutputBuffer

public SSLAsyncOutputBuffer getSSLAsyncOutputBuffer()
Retunr the SSLAsyncOutputBuffer



Copyright © 2012 Oracle Corporation. All Rights Reserved.