Class RequestMethods
- java.lang.Object
-
- net.lenni0451.commons.httpclient.constants.RequestMethods
-
public class RequestMethods extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONNECTTheCONNECTmethod establishes a tunnel to the server identified by the target resource.static java.lang.StringDELETETheDELETEmethod deletes the specified resource.static java.lang.StringGETTheGETmethod requests a representation of the specified resource.static java.lang.StringHEADTheHEADmethod asks for a response identical to aGETrequest, but without the response body.static java.lang.StringOPTIONSTheOPTIONSmethod describes the communication options for the target resource.static java.lang.StringPATCHThePATCHmethod applies partial modifications to a resource.static java.lang.StringPOSTThePOSTmethod submits an entity to the specified resource, often causing a change in state or side effects on the server.static java.lang.StringPUTThePUTmethod replaces all current representations of the target resource with the request payload.static java.lang.StringTRACETheTRACEmethod performs a message loop-back test along the path to the target resource.
-
Constructor Summary
Constructors Constructor Description RequestMethods()
-
-
-
Field Detail
-
GET
public static final java.lang.String GET
TheGETmethod requests a representation of the specified resource. Requests usingGETshould only retrieve data.- See Also:
- Constant Field Values
-
HEAD
public static final java.lang.String HEAD
TheHEADmethod asks for a response identical to aGETrequest, but without the response body.- See Also:
- Constant Field Values
-
POST
public static final java.lang.String POST
ThePOSTmethod submits an entity to the specified resource, often causing a change in state or side effects on the server.- See Also:
- Constant Field Values
-
PUT
public static final java.lang.String PUT
ThePUTmethod replaces all current representations of the target resource with the request payload.- See Also:
- Constant Field Values
-
DELETE
public static final java.lang.String DELETE
TheDELETEmethod deletes the specified resource.- See Also:
- Constant Field Values
-
CONNECT
public static final java.lang.String CONNECT
TheCONNECTmethod establishes a tunnel to the server identified by the target resource.- See Also:
- Constant Field Values
-
OPTIONS
public static final java.lang.String OPTIONS
TheOPTIONSmethod describes the communication options for the target resource.- See Also:
- Constant Field Values
-
TRACE
public static final java.lang.String TRACE
TheTRACEmethod performs a message loop-back test along the path to the target resource.- See Also:
- Constant Field Values
-
PATCH
public static final java.lang.String PATCH
ThePATCHmethod applies partial modifications to a resource.- See Also:
- Constant Field Values
-
-