Uses of Class
org.apache.hc.core5.http.ProtocolException
-
Packages that use ProtocolException Package Description org.apache.hc.core5.http Core HTTP transport component APIs.org.apache.hc.core5.http.impl.bootstrap HTTP/1.1 requester and server bootstrap.org.apache.hc.core5.http.message Core HTTP message components, message element parser and writer APIs and their default implementations.org.apache.hc.core5.http.protocol Core HTTP protocol interceptors.org.apache.hc.core5.http.support org.apache.hc.core5.http2.impl Default implementations of core HTTP/2 APIs. -
-
Uses of ProtocolException in org.apache.hc.core5.http
Subclasses of ProtocolException in org.apache.hc.core5.http Modifier and Type Class Description classLengthRequiredExceptionSignals message rejection due to missing content length.classMethodNotSupportedExceptionSignals that an HTTP method is not supported.classMisdirectedRequestExceptionSignals a misdirected request (the server is not authoritative to handle the request).classNotImplementedExceptionSignals an unsupported / unimplemented feature of the HTTP protocol.classParseExceptionSignals a protocol exception due to failure to parse a message element.classRequestHeaderFieldsTooLargeExceptionSignals request header field length or total field size violation.classUnsupportedHttpVersionExceptionSignals an unsupported version of the HTTP protocol.Methods in org.apache.hc.core5.http that throw ProtocolException Modifier and Type Method Description HeaderMessageHeaders. getHeader(java.lang.String name)Gets single first header with the given name. -
Uses of ProtocolException in org.apache.hc.core5.http.impl.bootstrap
Methods in org.apache.hc.core5.http.impl.bootstrap that throw ProtocolException Modifier and Type Method Description protected 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 Modifier and Type Method Description HeaderAbstractMessageWrapper. getHeader(java.lang.String name)HeaderHeaderGroup. getHeader(java.lang.String name)Gets single first header with the given name. -
Uses of ProtocolException in org.apache.hc.core5.http.protocol
Methods in org.apache.hc.core5.http.protocol that throw ProtocolException Modifier and Type Method Description voidViaRequest. 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 ProtocolException Modifier and Type Method Description static 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 ProtocolException Modifier and Type Method Description private voidDefaultH2RequestConverter. validatePathPseudoHeader(java.lang.String method, java.lang.String scheme, java.lang.String path)Validates the:pathpseudo-header field based on the provided HTTP method and scheme.
-