public interface Method
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.Modifier and Type | Field and Description |
---|---|
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.
|
static final String CONNECT
static final String DELETE
static final String GET
static final String HEAD
static final String OPTIONS
static final String POST
static final String PUT
static final String TRACE
Copyright © 2017. All rights reserved.