Uses of Class
org.apache.hc.core5.http.ProtocolException
Packages that use ProtocolException
Package
Description
Core HTTP transport component APIs.
HTTP/1.1 requester and server bootstrap.
Core HTTP message components, message element parser
and writer APIs and their default implementations.
Core HTTP protocol interceptors.
Default implementations of core HTTP/2 APIs.
Default implementation of HTTP/2 transport based on
the asynchronous (non-blocking) I/O model.
HTTP/2 protocol interceptors.
-
Uses of ProtocolException in org.apache.hc.core5.http
Subclasses of ProtocolException in org.apache.hc.core5.httpModifier and TypeClassDescriptionclassSignals message rejection due to missing content length.classSignals that an HTTP method is not allowed.classSignals that an HTTP method is not supported.classSignals a misdirected request (the server is not authoritative to handle the request).classSignals an unsupported / unimplemented feature of the HTTP protocol.classSignals a protocol exception due to failure to parse a message element.classSignals request header field length or total field size violation.classSignals an unsupported version of the HTTP protocol.classSignals an unsupported media type.Methods in org.apache.hc.core5.http that throw ProtocolException -
Uses of ProtocolException in org.apache.hc.core5.http.impl.bootstrap
Methods in org.apache.hc.core5.http.impl.bootstrap that throw ProtocolExceptionModifier and TypeMethodDescriptionprotected static HttpHostAsyncRequester.defaultTarget(HttpRequest request) -
Uses of ProtocolException in org.apache.hc.core5.http.message
Methods in org.apache.hc.core5.http.message that throw ProtocolException -
Uses of ProtocolException in org.apache.hc.core5.http.protocol
Methods in org.apache.hc.core5.http.protocol that throw ProtocolExceptionModifier and TypeMethodDescriptionvoidViaRequest.process(HttpRequest request, EntityDetails entity, HttpContext context) Adds the HTTPHttpHeaders.VIAheader to the request if it does not already exist.voidRequestContent.validateOptionsContentType(HttpRequest request) Validates the presence of the Content-Type header for an OPTIONS request. -
Uses of ProtocolException in org.apache.hc.core5.http.support
Methods in org.apache.hc.core5.http.support that throw ProtocolExceptionModifier and TypeMethodDescriptionstatic ExpectationExpectSupport.parse(HttpRequest request, EntityDetails entityDetails) -
Uses of ProtocolException in org.apache.hc.core5.http2.impl
Methods in org.apache.hc.core5.http2.impl that throw ProtocolExceptionModifier and TypeMethodDescriptionprivate static intDefaultH2ResponseConverter.parseStatusCode(String statusText) private voidDefaultH2RequestConverter.validatePathPseudoHeader(String method, String scheme, String path) Validates the:pathpseudo-header field based on the provided HTTP method and scheme. -
Uses of ProtocolException in org.apache.hc.core5.http2.impl.nio
Methods in org.apache.hc.core5.http2.impl.nio that throw ProtocolExceptionModifier and TypeMethodDescriptionprivate voidClientH2StreamHandler.validateContentLength()private voidClientPushH2StreamHandler.validateContentLength()private voidServerH2StreamHandler.validateContentLength()(package private) static void -
Uses of ProtocolException in org.apache.hc.core5.http2.protocol
Methods in org.apache.hc.core5.http2.protocol that throw ProtocolExceptionModifier and TypeMethodDescriptionprivate static voidH2RequestConformance.validateTE(HttpRequest request)