org.xins.common.http
Class HTTPMethod

java.lang.Object
  extended byorg.xins.common.http.HTTPMethod
All Implemented Interfaces:
Serializable

public final class HTTPMethod
extends Object
implements Serializable

HTTP method. Possible values for variable of this class:

Since:
XINS 1.0.0
Version:
$Revision: 1.9 $ $Date: 2006/10/25 11:20:57 $
Author:
Ernst de Haan
See Also:
Serialized Form

Field Summary
static HTTPMethod GET
          The GET method.
static HTTPMethod POST
          The POST method.
 
Method Summary
 String toString()
          Returns a textual representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GET

public static final HTTPMethod GET
The GET method.


POST

public static final HTTPMethod POST
The POST method.

Method Detail

toString

public String toString()
Returns a textual representation of this object. The implementation of this method returns the name of this HTTP method, like "GET" or "POST".

Returns:
the name of this method, e.g. "GET" or "POST"; never null.


See http://www.xins.org/.