ProgramixGenericLib v5.0.1

com.programix.command.bridge.http
Class HttpCommandProcessor

java.lang.Object
  extended by com.programix.command.bridge.http.HttpCommandProcessor
All Implemented Interfaces:
CommandProcessor

public class HttpCommandProcessor
extends Object
implements CommandProcessor


Field Summary
static String TARGET_URL_KEY
          The configuration sent to init(com.programix.value.ValueMap) must have a String stored under this key.
 
Constructor Summary
HttpCommandProcessor()
           
 
Method Summary
 void close()
           
 void init(ValueMap config)
           
 CommandResponse process(CommandRequest req)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TARGET_URL_KEY

public static final String TARGET_URL_KEY
The configuration sent to init(com.programix.value.ValueMap) must have a String stored under this key. The value must be a string representation of an http URL.

The value of this key is always: http.command.processor.target.url.

See Also:
Constant Field Values
Constructor Detail

HttpCommandProcessor

public HttpCommandProcessor()
Method Detail

init

public void init(ValueMap config)
          throws CommandException
Specified by:
init in interface CommandProcessor
Throws:
CommandException

close

public void close()
Specified by:
close in interface CommandProcessor

process

public CommandResponse process(CommandRequest req)
                        throws CommandException
Specified by:
process in interface CommandProcessor
Throws:
CommandException

ProgramixGenericLib v5.0.1

Copyright © 2001-2009 Programix Incorporated. All rights reserved. ProgramixGenericLib is free and is OSI Certified Open Source Software under the BSD license.