FileDocCategorySizeDatePackage
SSLAsyncProcessorTask.javaAPI DocGlassfish v2 API3650Fri May 04 22:37:10 BST 2007com.sun.enterprise.web.connector.grizzly.ssl

SSLAsyncProcessorTask

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

Fields Summary
Constructors Summary
public SSLAsyncProcessorTask()

        this(true,true);
    
public SSLAsyncProcessorTask(boolean init, boolean bufferResponse)

    
        super(init,bufferResponse);
    
Methods Summary
public SSLAsyncOutputBuffergetSSLAsyncOutputBuffer()
Retunr the SSLAsyncOutputBuffer

        return (SSLAsyncOutputBuffer)outputBuffer;
    
public voidinitialize()
Initialize the stream and the buffer used to parse the request.

        started = true;   
        request = new Request();

        response = new Response();
        response.setHook(this);
        
        inputBuffer = new InternalInputBuffer(request,requestBufferSize); 
        outputBuffer = new SSLAsyncOutputBuffer(response,maxHttpHeaderSize,
                                                bufferResponse);
        request.setInputBuffer(inputBuffer);
       
        response.setOutputBuffer(outputBuffer);
        request.setResponse(response);

        initializeFilters();