Package org.simpleframework.http
Interface Method
-
public interface MethodTheMethodinterface contains the common HTTP methods that are sent with a request. This only contains those methods that have been defined within the RFC 2616 specification. These are defined here for convenience and informational purposes.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONNECTFor use with a proxy that can dynamically switch to being a tunnel.static java.lang.StringDELETERequests that the origin server delete the resource identified.static java.lang.StringGETRetrieve whatever information is identified by the request.static java.lang.StringHEADRetrieve only the headers for the resource that is requested.static java.lang.StringOPTIONSRepresents a request for the communication options available.static java.lang.StringPOSTRequest that the origin server accept the entity in the request.static java.lang.StringPUTRequests that the entity be stored as the resource specifiedstatic java.lang.StringTRACEInvoke a remote application layer loop back of the request.
-
-
-
Field Detail
-
CONNECT
static final java.lang.String CONNECT
For use with a proxy that can dynamically switch to being a tunnel.- See Also:
- Constant Field Values
-
DELETE
static final java.lang.String DELETE
Requests that the origin server delete the resource identified.- See Also:
- Constant Field Values
-
GET
static final java.lang.String GET
Retrieve whatever information is identified by the request.- See Also:
- Constant Field Values
-
HEAD
static final java.lang.String HEAD
Retrieve only the headers for the resource that is requested.- See Also:
- Constant Field Values
-
OPTIONS
static final java.lang.String OPTIONS
Represents a request for the communication options available.- See Also:
- Constant Field Values
-
POST
static final java.lang.String POST
Request that the origin server accept the entity in the request.- See Also:
- Constant Field Values
-
PUT
static final java.lang.String PUT
Requests that the entity be stored as the resource specified- See Also:
- Constant Field Values
-
TRACE
static final java.lang.String TRACE
Invoke a remote application layer loop back of the request.- See Also:
- Constant Field Values
-
-