|
ref_send API 2.17 defensive programming in Java |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.NullPointerException org.ref_send.promise.Failure
public class Failure
Indicates a failed HTTP request.
Field Summary | |
---|---|
static int |
maxEntitySize
entity size expected to trigger a 413 response: 262144 |
java.lang.String |
phrase
HTTP reason phrase |
java.lang.String |
status
HTTP status code |
Constructor Summary | |
---|---|
Failure(java.lang.String status,
java.lang.String phrase)
Constructs an instance. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int maxEntitySize
413
response: 262144
public final java.lang.String status
public final java.lang.String phrase
Constructor Detail |
---|
public Failure(java.lang.String status, java.lang.String phrase)
status
- status
phrase
- phrase
|
ref_send API 2.17 defensive programming in Java |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.