org.apache.commons.httpclient.HttpContentTooLargeException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aem-sdk-api Show documentation
Show all versions of aem-sdk-api Show documentation
The Adobe Experience Manager SDK
package org.apache.commons.httpclient;
/**
* Signals that the response content was larger than anticipated.
*
* @author Ortwin Glueck
* @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.
*/
@Deprecated
public class HttpContentTooLargeException extends HttpException {
private int maxlen;
public HttpContentTooLargeException(String message, int maxlen) {
super(message);
this.maxlen = maxlen;
}
/**
* @return the maximum anticipated content length in bytes.
*/
public int getMaxLength() {
return maxlen;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy