类 UnknownHttpStatusCodeException

所有已实现的接口:
Serializable

public class UnknownHttpStatusCodeException extends WebClientResponseException
Exception thrown when an unknown (or custom) HTTP status code is received.
从以下版本开始:
4.0
作者:
Brian Clozel
另请参阅:
  • 字段详细资料

    • serialVersionUID

      private static final long serialVersionUID
      另请参阅:
  • 构造器详细资料

    • UnknownHttpStatusCodeException

      public UnknownHttpStatusCodeException(int statusCode, HttpHeaders headers, byte[] responseBody, Charset responseCharset)
      Create a new instance of the UnknownHttpStatusCodeException with the given parameters.
    • UnknownHttpStatusCodeException

      public UnknownHttpStatusCodeException(int statusCode, HttpHeaders headers, byte[] responseBody, @Nullable Charset responseCharset, @Nullable HttpRequest request)
      Create a new instance of the UnknownHttpStatusCodeException with the given parameters.
    • UnknownHttpStatusCodeException

      public UnknownHttpStatusCodeException(HttpStatusCode statusCode, HttpHeaders headers, byte[] responseBody, @Nullable Charset responseCharset, @Nullable HttpRequest request)
      Create a new instance of the UnknownHttpStatusCodeException with the given parameters.