Class HttpContentTooLargeException

  • All Implemented Interfaces:

    public class HttpContentTooLargeException
    extends HttpException
    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:
    Serialized Form
    • Constructor Detail

      • HttpContentTooLargeException

        public HttpContentTooLargeException​(java.lang.String message,
                                            int maxlen)
    • Method Detail

      • getMaxLength

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