Top Description Methods
org.apache.hc.client5.http.classic.methods

public Interface HttpUriRequest

extends ClassicHttpRequest, Configurable
Known Direct Implementers
org.apache.hc.client5.http.classic.methods.HttpUriRequestBase
Imports
org.apache.hc.client5.http.config.Configurable, org.apache.hc.core5.http.ClassicHttpRequest

Extended version of the ClassicHttpRequest interface that provides convenience methods to access request properties such as request URI and method type.
Since
4.0

Method Summary

Modifier and TypeMethod and Description
public void
abort()

Aborts execution of the request.

public boolean

Returns:

true if the request execution has been aborted, false otherwise.
isAborted
()

Tests if the request execution has been aborted.

Inherited from org.apache.hc.client5.http.config.Configurable:
getConfig

Method Detail

abortback to summary
public void abort() throws UnsupportedOperationException

Aborts execution of the request.

Exceptions
UnsupportedOperationException:
if the abort operation is not supported / cannot be implemented.
isAbortedback to summary
public boolean isAborted()

Tests if the request execution has been aborted.

Returns:boolean

true if the request execution has been aborted, false otherwise.