Uses of Class
com.sun.grizzly.Context

Packages that use Context
com.sun.grizzly   
com.sun.grizzly.arp   
com.sun.grizzly.filter   
com.sun.grizzly.http   
com.sun.grizzly.http.portunif   
com.sun.grizzly.portunif   
com.sun.grizzly.rcm   
com.sun.grizzly.ssl   
com.sun.grizzly.suspendable   
 

Uses of Context in com.sun.grizzly
 

Fields in com.sun.grizzly declared as Context
protected  Context ContextTask.context
           
 

Methods in com.sun.grizzly that return Context
 Context ContextTask.getContext()
           
protected  Context TCPSelectorHandler.pollContext(Context serverContext, SelectionKey key, Context.OpType opType)
          Polls Context from pool and initializes it.
 Context Controller.pollContext(SelectionKey key)
          Get an instance of a Context
 Context Controller.pollContext(SelectionKey key, Context.OpType opType)
          Get an instance of a Context
 

Methods in com.sun.grizzly with parameters of type Context
 void Controller.configureContext(Context ctx, SelectorHandler selectorHandler)
           
 boolean ProtocolFilter.execute(Context ctx)
          Execute a unit of processing work to be performed.
 void DefaultProtocolChain.execute(Context ctx)
          Execute this ProtocolChain.
 void ProtocolChain.execute(Context context)
          Execute using the Context instance.
 void DefaultProtocolChain.execute(Context ctx, int firstFilter)
          Execute this ProtocolChain.
protected  int DefaultProtocolChain.executeProtocolFilter(Context ctx)
          Execute the ProtocolFilter.execute method.
protected  int DefaultProtocolChain.executeProtocolFilter(Context ctx, int firstFilter)
          Execute the ProtocolFilter.execute method.
protected  void TCPSelectorHandler.invokeAsyncQueueReader(Context context)
          Invoke a AsyncQueueReader
protected  void TCPSelectorHandler.invokeAsyncQueueWriter(Context context)
          Invoke a AsyncQueueWriter
protected  void TCPSelectorHandler.invokeCallbackHandler(CallbackHandler callbackHandler, Context context)
          Invoke a CallbackHandler via a Context instance.
 boolean TCPSelectorHandler.onAcceptInterest(SelectionKey key, Context ctx)
          Handle OP_ACCEPT.
 boolean SelectorHandler.onAcceptInterest(SelectionKey key, Context controllerCtx)
          Handle OP_ACCEPT.
 boolean UDPSelectorHandler.onAcceptInterest(SelectionKey key, Context ctx)
          Handle OP_ACCEPT.
 boolean RoundRobinSelectorHandler.onAcceptInterest(SelectionKey key, Context context)
           
 boolean TCPSelectorHandler.onConnectInterest(SelectionKey key, Context ctx)
          Handle OP_CONNECT.
 boolean SelectorHandler.onConnectInterest(SelectionKey key, Context controllerCtx)
          Handle OP_CONNECT.
protected  void TCPSelectorHandler.onConnectOp(Context ctx, SelectionKeyOP.ConnectSelectionKeyOP selectionKeyOp)
          Handle new OP_CONNECT ops.
protected  void UDPSelectorHandler.onConnectOp(Context ctx, SelectionKeyOP.ConnectSelectionKeyOP selectionKeyOp)
          Handle new OP_CONNECT ops.
 boolean TCPSelectorHandler.onReadInterest(SelectionKey key, Context ctx)
          Handle OP_READ.
 boolean SelectorHandler.onReadInterest(SelectionKey key, Context controllerCtx)
          Handle OP_READ.
 boolean TCPSelectorHandler.onWriteInterest(SelectionKey key, Context ctx)
          Handle OP_WRITE.
 boolean SelectorHandler.onWriteInterest(SelectionKey key, Context controllerCtx)
          Handle OP_WRITE.
protected  Context TCPSelectorHandler.pollContext(Context serverContext, SelectionKey key, Context.OpType opType)
          Polls Context from pool and initializes it.
 boolean ProtocolFilter.postExecute(Context ctx)
          Execute any cleanup activities, such as releasing resources that were acquired during the execute() method of this ProtocolFilter instance.
protected  boolean DefaultProtocolChain.postExecuteProtocolFilter(int currentPosition, Context ctx)
          Execute the ProtocolFilter.postExcute.
 void TCPSelectorHandler.postSelect(Context ctx)
          Invoked after Selector.select().
 void SelectorHandler.postSelect(Context controllerCtx)
          This method is garantee to always be called after operation Selector.select().
 void TCPSelectorHandler.preSelect(Context ctx)
          Before invoking Selector.select(), make sure the ServerScoketChannel has been created.
 void SelectorHandler.preSelect(Context controllerCtx)
          This method is garantee to always be called before operation Selector.select().
 void UDPSelectorHandler.preSelect(Context ctx)
          Before invoking Selector.select(), make sure the ServerScoketChannel has been created.
protected  void TCPSelectorHandler.processPendingOperations(Context ctx)
           
 void Controller.returnContext(Context ctx)
          Return a Context to the pool
 Set<SelectionKey> TCPSelectorHandler.select(Context ctx)
          Execute the Selector.select(...) operations.
 Set<SelectionKey> SelectorHandler.select(Context controllerCtx)
          Invoke the Selector.select() method.
 void ContextTask.setContext(Context context)
           
 

Method parameters in com.sun.grizzly with type arguments of type Context
protected  void Context.setIOEvent(IOEvent<Context> ioEvent)
          Set an optional CallbackHandler.
 

Uses of Context in com.sun.grizzly.arp
 

Methods in com.sun.grizzly.arp with parameters of type Context
protected  void AsyncProtocolFilter.configureByteBufferInputStream(ByteBufferInputStream inputStream, Context context, HttpWorkerThread workerThread)
          Configure ByteBufferInputStream
protected  void AsyncProtocolFilter.configureProcessorTask(ProcessorTask processorTask, Context context, HttpWorkerThread workerThread, Interceptor handler, InputStream inputStream)
          Configure SSLProcessorTask.
 boolean AsyncProtocolFilter.execute(Context ctx)
          Execute a unit of processing work to be performed.
 boolean AsyncProtocolFilter.postExecute(Context ctx)
          Execute any cleanup activities, such as releasing resources that were acquired during the execute() method of this ProtocolFilter instance.
 

Uses of Context in com.sun.grizzly.filter
 

Methods in com.sun.grizzly.filter with parameters of type Context
 boolean SSLReadFilter.execute(Context ctx)
           
 boolean UDPWriteFilter.execute(Context ctx)
          Write available bytes and delegate the processing of them to the next ProtocolFilter in the ProtocolChain.
 boolean EchoFilter.execute(Context ctx)
           
 boolean SSLEchoAsyncWriteQueueFilter.execute(Context ctx)
           
 boolean LogFilter.execute(Context ctx)
           
 boolean ReadFilter.execute(Context ctx)
          Read available bytes and delegate the processing of them to the next ProtocolFilter in the ProtocolChain.
 boolean UDPReadFilter.execute(Context ctx)
          Deprecated. Read available bytes and delegate the processing of them to the next ProtocolFilter in the ProtocolChain.
 boolean ParserProtocolFilter.execute(Context ctx)
          Read available bytes and delegate the processing of them to the next ProtocolFilter in the ProtocolChain.
 boolean EchoAsyncWriteQueueFilter.execute(Context ctx)
           
 boolean SSLEchoFilter.execute(Context ctx)
           
protected  boolean ReadFilter.execute(Context ctx, ByteBuffer byteBuffer)
          Read available bytes to the specific ByteBuffer and delegate the processing of them to the next ProtocolFilter in the ProtocolChain.
protected  boolean ParserProtocolFilter.invokeProtocolParser(Context ctx, ProtocolParser parser)
          Invoke the ProtocolParser.
 boolean SSLReadFilter.postExecute(Context ctx)
          If no bytes were available, close the connection by cancelling the SelectionKey.
 boolean UDPWriteFilter.postExecute(Context ctx)
          Re-enable the SelectionKey and make sure the ByteBuffer has been cleared.
 boolean EchoFilter.postExecute(Context ctx)
           
 boolean SSLEchoAsyncWriteQueueFilter.postExecute(Context ctx)
           
 boolean LogFilter.postExecute(Context ctx)
           
 boolean ReadFilter.postExecute(Context ctx)
          If no bytes were available, close the connection by cancelling the SelectionKey.
 boolean ParserProtocolFilter.postExecute(Context context)
           
 boolean EchoAsyncWriteQueueFilter.postExecute(Context ctx)
           
 boolean SSLEchoFilter.postExecute(Context ctx)
           
 

Uses of Context in com.sun.grizzly.http
 

Methods in com.sun.grizzly.http with parameters of type Context
protected  void DefaultProtocolFilter.configureByteBufferInputStream(ByteBufferInputStream inputStream, Context context, HttpWorkerThread workerThread)
          Configure ByteBufferInputStream.
protected  void DefaultProtocolFilter.configureProcessorTask(ProcessorTask processorTask, Context context, HttpWorkerThread workerThread, Interceptor handler)
          Configure ProcessorTask.
 boolean DefaultProtocolFilter.execute(Context ctx)
           
 boolean DefaultProtocolFilter.postExecute(Context ctx)
           
 

Uses of Context in com.sun.grizzly.http.portunif
 

Methods in com.sun.grizzly.http.portunif with parameters of type Context
 String HttpProtocolFinder.find(Context context, PUProtocolRequest protocolRequest)
           
 boolean HttpProtocolHandler.handle(Context context, PUProtocolRequest protocolRequest)
          Redirect the request to the protocol defined in the protocolInfo.
static void HttpRedirector.redirect(Context context, PUProtocolRequest protocolRequest)
          Redirect a un-secure request (http) to http or https.
static void HttpRedirector.redirect(Context context, PUProtocolRequest protocolRequest, boolean redirectToSecure)
          Redirect a un-secure request (http) to http or https.
static void HttpRedirector.redirectSSL(Context context, PUProtocolRequest protocolRequest)
          Redirect a secure request (https) to http or https.
static void HttpRedirector.redirectSSL(Context context, PUProtocolRequest protocolRequest, boolean redirectToSecure)
          Redirect a secure request (https) to http or https.
 

Uses of Context in com.sun.grizzly.portunif
 

Methods in com.sun.grizzly.portunif with parameters of type Context
 boolean PUReadFilter.execute(Context context)
           
 String ProtocolFinder.find(Context context, PUProtocolRequest protocolRequest)
          Try to determine the TCP protocol used (http, soap, etc.).
protected  ProtocolHandler PUReadFilter.getProtocolChainHandler(Context context, PUProtocolRequest protocolRequest)
          Returns filter chain ProtocolHandler, depending on current Context and PUProtocolRequest state
 boolean ProtocolHandler.handle(Context context, PUProtocolRequest protocolRequest)
          Handle the current request by either redirecting the request to a new port or by delivering the request to the proper endpoint.
 boolean FilterChainProtocolHandler.handle(Context context, PUProtocolRequest protocolRequest)
           
 void TLSPUPreProcessor.postProcess(Context context, PUProtocolRequest protocolRequest)
           
 void PUPreProcessor.postProcess(Context context, PUProtocolRequest protocolRequest)
          Method is called if no ProtocolFinder was found.
 boolean TLSPUPreProcessor.process(Context context, PUProtocolRequest protocolRequest)
          Try to initialize an SSL|TLS handshake to determine if secured connection is used
 boolean PUPreProcessor.process(Context context, PUProtocolRequest protocolRequest)
          Method performs data preprocessing, before it will be passed to ProtocolFinder collection
 boolean PUReadFilter.processProtocolHandler(ProtocolHandler protocolHandler, Context context, PUProtocolRequest protocolRequest, boolean mapSelectionKey)
           
 void ProtocolRequestWorkerThreadAdapter.setContext(Context context)
           
 

Uses of Context in com.sun.grizzly.rcm
 

Methods in com.sun.grizzly.rcm with parameters of type Context
 void ResourceAllocationFilter.closeConnection(Context ctx)
          Close the connection.
 boolean ResourceAllocationFilter.invokeProtocolParser(Context ctx, ProtocolParser protocolParser)
          Invoke the ProtocolParser.
 

Uses of Context in com.sun.grizzly.ssl
 

Methods in com.sun.grizzly.ssl with parameters of type Context
protected  void SSLAsyncProtocolFilter.configureByteBufferInputStream(ByteBufferInputStream inputStream, Context context, HttpWorkerThread workerThread)
          Configure ByteBufferInputStream
protected  void SSLDefaultProtocolFilter.configureProcessorTask(ProcessorTask processorTask, Context context, HttpWorkerThread workerThread, Interceptor handler)
          Configure ProcessorTask.
protected  void SSLAsyncProtocolFilter.configureProcessorTask(ProcessorTask processorTask, Context context, HttpWorkerThread workerThread, Interceptor handler, InputStream inputStream)
          Configure SSLProcessorTask.
 

Uses of Context in com.sun.grizzly.suspendable
 

Methods in com.sun.grizzly.suspendable with parameters of type Context
 boolean SuspendableFilter.execute(Context ctx)
          Excute the pattern matching algorithm to determine if a the current connection must be suspended or not, and when.
 boolean SuspendableFilter.postExecute(Context ctx)
          Excute the pattern matching algorithm to determine if a the current connection must be suspended or not, and when.
 



Copyright © 2008 SUN Microsystems. All Rights Reserved.