com.sun.grizzly.http.algorithms
Class StreamAlgorithmBase.DummyHandler

java.lang.Object
  extended by com.sun.grizzly.http.algorithms.StreamAlgorithmBase.DummyHandler
All Implemented Interfaces:
Interceptor
Enclosing class:
StreamAlgorithmBase

public static class StreamAlgorithmBase.DummyHandler
extends Object
implements Interceptor

Empty handler used when Grizzly is bundled outside of GlassFish.

Author:
Jeanfrancois Arcand

Field Summary
 
Fields inherited from interface com.sun.grizzly.util.Interceptor
BREAK, CONTINUE, REQUEST_BUFFERED, REQUEST_LINE_PARSED, RESPONSE_PROCEEDED
 
Constructor Summary
StreamAlgorithmBase.DummyHandler()
           
 
Method Summary
 void attachChannel(SocketChannel sc)
          The SocketChannel associated with this handler.
 int handle(Object e, int handlerCode)
          Handle and the associated handler code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamAlgorithmBase.DummyHandler

public StreamAlgorithmBase.DummyHandler()
Method Detail

handle

public int handle(Object e,
                  int handlerCode)
           throws IOException
Description copied from interface: Interceptor
Handle and the associated handler code.

Specified by:
handle in interface Interceptor
Returns:
Throws:
IOException

attachChannel

public void attachChannel(SocketChannel sc)
Description copied from interface: Interceptor
The SocketChannel associated with this handler.

Specified by:
attachChannel in interface Interceptor


Copyright © 2011 SUN Microsystems. All Rights Reserved.