Class HttpContentTooLargeException

All Implemented Interfaces:
Serializable

@Deprecated public class HttpContentTooLargeException extends HttpException
Deprecated.
Jakarta Commons HttpClient 3.x is deprecated in the Jenkins project. It is not recommended to use it in any new code. Instead, use HTTP client API plugins as a dependency in your code. E.g. Apache HttpComponents Client API 4.x Plugin or Async HTTP Client Plugin.
Signals that the response content was larger than anticipated.
See Also:
  • Constructor Details

    • HttpContentTooLargeException

      public HttpContentTooLargeException(String message, int maxlen)
      Deprecated.
  • Method Details

    • getMaxLength

      public int getMaxLength()
      Deprecated.
      Returns:
      the maximum anticipated content length in bytes.