com.acsinet_solutions.cetia4.http
Interface HttpCommand

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ActionCommand, DeleteCommand, GetCommand, PostCommand, PutCommand

public interface HttpCommand
extends java.io.Serializable

Interface that represents a given Get or Post command

Author:
Santiago Arriaga

Method Summary
 void addParam(java.lang.String key, java.lang.String value)
          Add a parameter to the current command.
 HttpMethod getMethod()
          Get the HTTP command method for the current command.
 java.lang.String getPage()
          Get the page of the command.
 java.util.Map<java.lang.String,java.lang.String> getParams()
          Get the parameters of the command to be executed.
 

Method Detail

getMethod

HttpMethod getMethod()
Get the HTTP command method for the current command.


getParams

java.util.Map<java.lang.String,java.lang.String> getParams()
Get the parameters of the command to be executed.


addParam

void addParam(java.lang.String key,
              java.lang.String value)
Add a parameter to the current command.


getPage

java.lang.String getPage()
Get the page of the command.