com.zion.jbuddy.bots
Class BotHTTPMethod

java.lang.Object
  extended by com.zion.jbuddy.bots.BotHTTPMethod

public class BotHTTPMethod
extends Object

Available HTTP/1.1 methods.

For more information, see Hypertext Transfer Protocol -- HTTP/1.1.


Field Summary
static BotHTTPMethod DELETE
          The DELETE method requests that the origin server delete the resource identified by the Request-URI.
static BotHTTPMethod GET
          The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI.
static BotHTTPMethod HEAD
          The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response.
static BotHTTPMethod OPTIONS
          The OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI.
static BotHTTPMethod POST
          The POST method is used to request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line.
static BotHTTPMethod PUT
          The PUT method requests that the enclosed entity be stored under the supplied Request-URI.
static BotHTTPMethod TRACE
          The TRACE method is used to invoke a remote, application-layer loop-back of the request message.
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GET

public static final BotHTTPMethod GET
The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI.

This is the default value.


POST

public static final BotHTTPMethod POST
The POST method is used to request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line.


HEAD

public static final BotHTTPMethod HEAD
The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response.


OPTIONS

public static final BotHTTPMethod OPTIONS
The OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI.


PUT

public static final BotHTTPMethod PUT
The PUT method requests that the enclosed entity be stored under the supplied Request-URI.


DELETE

public static final BotHTTPMethod DELETE
The DELETE method requests that the origin server delete the resource identified by the Request-URI.


TRACE

public static final BotHTTPMethod TRACE
The TRACE method is used to invoke a remote, application-layer loop-back of the request message.

Method Detail

toString

public String toString()
Overrides:
toString in class Object


JBuddy is a trademark of Zion Software, LLC in the US and other countries.
Copyright 2000-2008 Zion Software, LLC All Rights Reserved.