org.apache.hc.core5.http.impl

## Class ServerSupport

- java.lang.Object
- - org.apache.hc.core5.http.impl.ServerSupport

-     @Internal
      public class ServerSupport
      extends Object

  HTTP Server support methods.
  Since:
    5.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServerSupport()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `toErrorMessage(Exception ex)`
    `static int` | `toStatusCode(Exception ex)`
    `static void` | `validateResponse(HttpResponse response, EntityDetails responseEntityDetails)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ServerSupport

          public ServerSupport()

  - ### Method Detail

    - #### validateResponse

          public static void validateResponse(HttpResponse response,
                              EntityDetails responseEntityDetails)
                                       throws HttpException

      Throws:
        `HttpException`

    - #### toErrorMessage

          public static String toErrorMessage(Exception ex)

    - #### toStatusCode

          public static int toStatusCode(Exception ex)

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