Class HttpContentTooLargeException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Detail

      • HttpContentTooLargeException

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

      • getMaxLength

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