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

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

public static class StreamAlgorithmBase.DummyHandler
extends Object
implements Interceptor<Object,SocketChannel>

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 Channel 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<Object,SocketChannel>
Returns:
Throws:
IOException

attachChannel

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

Specified by:
attachChannel in interface Interceptor<Object,SocketChannel>


Copyright © 2013 Oracle Corporation. All Rights Reserved.