## 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.message | Core HTTP message components, message element parser and writer APIs and their default implementations.

- - ### Uses of ProtocolException in org.apache.hc.core5.http

    Subclasses of ProtocolException in org.apache.hc.core5.http
    Modifier and Type | Class and Description
    --- | ---
    `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.

    Methods in org.apache.hc.core5.http that throw ProtocolException
    Modifier and Type | Method and Description
    --- | ---
    `Header` | MessageHeaders.`getHeader(String name)` Gets single first header with the given name.

  - ### 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 and Description
    --- | ---
    `Header` | HeaderGroup.`getHeader(String name)` Gets single first header with the given name.
    `Header` | AbstractMessageWrapper.`getHeader(String name)`

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.