HttpContentTooLargeException (HttpClient 3.1 API)
Keywords: org.apache.commons.httpclient.HttpContentTooLargeException class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.httpclient
Class HttpContentTooLargeException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.io.IOException
                  org.apache.commons.httpclient.HttpException
                      org.apache.commons.httpclient.HttpContentTooLargeException

All Implemented Interfaces:
  Serializable

    public class HttpContentTooLargeException

extends HttpException

Signals that the response content was larger than anticipated.

Author:
  Ortwin Gl?ck
See Also:
  Serialized Form

Constructor Summary
`HttpContentTooLargeException(String message, int maxlen)`

Method Summary
`int` | `getMaxLength()`

Methods inherited from class org.apache.commons.httpclient.HttpException
`getCause, getReason, getReasonCode, printStackTrace, printStackTrace, printStackTrace, setReason, setReasonCode`

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### HttpContentTooLargeException

    public HttpContentTooLargeException(String message,
                                        int maxlen)

Method Detail

### getMaxLength

    public int getMaxLength()

  Returns:
    the maximum anticipated content length in bytes.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.