com.oaklandsw.http
Class HttpRetryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.oaklandsw.http.HttpException
com.oaklandsw.http.HttpRetryException
- All Implemented Interfaces:
- java.io.Serializable
- public class HttpRetryException
- extends HttpException
Used when an HTTP request requires a retry, but cannot be retried
automatically because streaming mode
(HttpURLConnection.set[...]StreamingMode()) was enabled.
This is functionally identical to java.net.HttpRetryException introduced in
1.5.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HttpRetryException
public HttpRetryException(java.lang.String message,
int code)
HttpRetryException
public HttpRetryException(java.lang.String message,
int code,
java.lang.String location)
isRetryDueToFailure
public boolean isRetryDueToFailure()
setRetryDueToFailure
public void setRetryDueToFailure(boolean rdtf)
responseCode
public int responseCode()
getLocation
public java.lang.String getLocation()
getReason
public java.lang.String getReason()
toString
public java.lang.String toString()
Copyright © 2002-2007 Oakland Software Incorporated. All Rights Reserved.