com.sun.enterprise.web.connector.grizzly.algorithms
Class StreamAlgorithmBase.DummyHandler

java.lang.Object
  extended by com.sun.enterprise.web.connector.grizzly.algorithms.StreamAlgorithmBase.DummyHandler
All Implemented Interfaces:
Handler
Enclosing class:
StreamAlgorithmBase

public static class StreamAlgorithmBase.DummyHandler
extends Object
implements Handler

Empty handler used when Grizzly is bundled outside of GlassFish.

Author:
Jeanfrancois Arcand

Field Summary
 
Fields inherited from interface com.sun.enterprise.web.connector.grizzly.Handler
BREAK, CONTINUE, HEADERS_PARSED, 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: Handler
Handle and the associated handler code.

Specified by:
handle in interface Handler
Throws:
IOException

attachChannel

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

Specified by:
attachChannel in interface Handler


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.