org.simpleframework.http
Interface Method


public interface Method

The Method interface 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.

Author:
Niall Gallagher

Field Summary
static String CONNECT
          For use with a proxy that can dynamically switch to being a tunnel.
static String DELETE
          Requests that the origin server delete the resource identified.
static String GET
          Retrieve whatever information is identified by the request.
static String HEAD
          Retrieve only the headers for the resource that is requested.
static String OPTIONS
          Represents a request for the communication options available.
static String POST
          Request that the origin server accept the entity in the request.
static String PUT
          Requests that the entity be stored as the resource specified
static String TRACE
          Invoke a remote application layer loop back of the request.
 

Field Detail

CONNECT

static final String CONNECT
For use with a proxy that can dynamically switch to being a tunnel.

See Also:
Constant Field Values

DELETE

static final String DELETE
Requests that the origin server delete the resource identified.

See Also:
Constant Field Values

GET

static final String GET
Retrieve whatever information is identified by the request.

See Also:
Constant Field Values

HEAD

static final String HEAD
Retrieve only the headers for the resource that is requested.

See Also:
Constant Field Values

OPTIONS

static final String OPTIONS
Represents a request for the communication options available.

See Also:
Constant Field Values

POST

static final String POST
Request that the origin server accept the entity in the request.

See Also:
Constant Field Values

PUT

static final String PUT
Requests that the entity be stored as the resource specified

See Also:
Constant Field Values

TRACE

static final String TRACE
Invoke a remote application layer loop back of the request.

See Also:
Constant Field Values


Copyright © 2014. All Rights Reserved.