com.acsinet_solutions.cetia4.http
Class NoopHttpCommandProcessor

java.lang.Object
  extended by com.acsinet_solutions.cetia4.http.NoopHttpCommandProcessor
All Implemented Interfaces:
HttpCommandProcessor

public class NoopHttpCommandProcessor
extends java.lang.Object
implements HttpCommandProcessor

NOOP implementation of a command processor useful for debugging and testing purposes.

Author:
Santiago Arriaga

Constructor Summary
NoopHttpCommandProcessor()
           
 
Method Summary
 int execute(HttpCommand command, java.io.OutputStream ostream)
          Execute the command request and write the result's contents to the given output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopHttpCommandProcessor

public NoopHttpCommandProcessor()
Method Detail

execute

public final int execute(HttpCommand command,
                         java.io.OutputStream ostream)
                  throws java.io.IOException
Description copied from interface: HttpCommandProcessor
Execute the command request and write the result's contents to the given output stream.

Specified by:
execute in interface HttpCommandProcessor
ostream - The stream where to write the response; may be null.
Returns:
the response status code
Throws:
java.io.IOException