Class ResponseTooLargeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.httpclient.api.ResponseTooLargeException
All Implemented Interfaces:
Serializable

public class ResponseTooLargeException extends RuntimeException
Thrown to indicate that a response was dropped because it contained an entity that was larger than the configured maximum size.

Contains the response with the response headers, status and first maxEntrySize bytes of the response body.

Since:
0.23.5
See Also:
  • Constructor Details

    • ResponseTooLargeException

      public ResponseTooLargeException(Response response, String message)
  • Method Details

    • getResponse

      public Response getResponse()