Class ClassicHttpRequests
java.lang.Object
org.apache.hc.client5.http.classic.methods.ClassicHttpRequests
Deprecated.
Common HTTP methods using
HttpUriRequest as a HTTP request message representation.
Each static method creates a request object of the exact subclass of HttpUriRequest
with a non-null URI.
- Since:
- 5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpUriRequestDeprecated.Creates a new HttpUriRequest for the givenmethodandStringURI.static HttpUriRequestDeprecated.Creates a new HttpUriRequest for the givenmethodandURI.static HttpUriRequestDeprecated.Creates a new HttpUriRequest for the givenMethodandStringURI.static HttpUriRequestDeprecated.Creates a new HttpUriRequest for the givenMethodandURI.static HttpUriRequestDeprecated.static HttpUriRequestDeprecated.static HttpUriRequestDeprecated.static HttpUriRequestDeprecated.static HttpUriRequestDeprecated.static HttpUriRequestDeprecated.static HttpUriRequestDeprecated.static HttpUriRequestDeprecated.static HttpUriRequestDeprecated.static HttpUriRequestDeprecated.static HttpUriRequestDeprecated.static HttpUriRequestDeprecated.static HttpUriRequestDeprecated.static HttpUriRequestDeprecated.static HttpUriRequestDeprecated.static HttpUriRequestDeprecated.
-
Constructor Details
-
ClassicHttpRequests
public ClassicHttpRequests()Deprecated.
-
-
Method Details
-
create
Deprecated.Creates a new HttpUriRequest for the givenMethodandStringURI.- Parameters:
method- A method.uri- a URI.- Returns:
- a new HttpUriRequest.
-
create
Deprecated.Creates a new HttpUriRequest for the givenMethodandURI.- Parameters:
method- A method.uri- a URI.- Returns:
- a new HttpUriRequest.
-
create
Deprecated.Creates a new HttpUriRequest for the givenmethodandStringURI.- Parameters:
method- A method supported by this class.uri- a non-null request string URI.- Returns:
- A new HttpUriRequest.
- Throws:
IllegalArgumentException- if the method is not supported.IllegalArgumentException- if the string uri is null.
-
create
Deprecated.Creates a new HttpUriRequest for the givenmethodandURI.- Parameters:
method- A method supported by this class.uri- a non-null request URI.- Returns:
- A new HttpUriRequest.
- Throws:
IllegalArgumentException- if the method is not supported.IllegalArgumentException- if the uri is null.
-
delete
Deprecated. -
delete
Deprecated. -
get
Deprecated. -
get
Deprecated. -
head
Deprecated. -
head
Deprecated. -
options
Deprecated. -
options
Deprecated. -
patch
Deprecated. -
patch
Deprecated. -
post
Deprecated. -
post
Deprecated. -
put
Deprecated. -
put
Deprecated. -
trace
Deprecated. -
trace
Deprecated.
-
ClassicRequestBuilder