| 程序包 | 说明 |
|---|---|
| org.apache.hc.client5.http |
Client component APIs common to all client transports
such as connection route information and resolution
as well as common HTTP method definitions and
exception classes.
|
| org.apache.hc.client5.http.auth |
Client HTTP authentication APIs.
|
| org.apache.hc.client5.http.cookie |
Client HTTP state management APIs.
|
| org.apache.hc.client5.http.impl | |
| org.apache.hc.client5.http.impl.auth |
Standard and common HTTP authentication schemes.
|
| org.apache.hc.client5.http.impl.classic |
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
|
| org.apache.hc.core5.http |
Core HTTP transport component APIs.
|
| org.apache.hc.core5.http.message |
Core HTTP message components, message element parser
and writer APIs and their default implementations.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
CircularRedirectException
Signals a circular redirect
|
class |
RedirectException
Signals violation of HTTP specification caused by an invalid redirect
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AuthenticationException
Signals a failure in authentication process
|
class |
InvalidCredentialsException
Authentication credentials required to respond to a authentication
challenge are invalid
|
class |
MalformedChallengeException
Signals that authentication challenge is in some way invalid or
illegal in the given context
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
CookieRestrictionViolationException
Signals that a cookie violates a restriction imposed by the cookie
specification.
|
class |
MalformedCookieException
Signals that a cookie is in some way invalid or illegal in a given
context
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected URI |
DefaultRedirectStrategy.createLocationURI(String location) |
boolean |
DefaultRedirectStrategy.isRedirected(HttpRequest request,
HttpResponse response,
HttpContext context) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
NTLMEngineException
已过时。
Do not use.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Header |
CloseableHttpResponse.getHeader(String name) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
LengthRequiredException
Signals message rejection due to missing content length.
|
class |
MethodNotSupportedException
Signals that an HTTP method is not supported.
|
class |
MisdirectedRequestException
Signals a misdirected request (the server is not authoritative to handle the request).
|
class |
NotImplementedException
Signals an unsupported / unimplemented feature of the HTTP protocol.
|
class |
ParseException
Signals a protocol exception due to failure to parse a message element.
|
class |
RequestHeaderFieldsTooLargeException
Signals request header field length or total field size violation.
|
class |
UnsupportedHttpVersionException
Signals an unsupported version of the HTTP protocol.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Header |
MessageHeaders.getHeader(String name)
Gets single first header with the given name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Header |
AbstractMessageWrapper.getHeader(String name) |
Header |
HeaderGroup.getHeader(String name)
Gets single first header with the given name.
|
Copyright © 2023. All rights reserved.