|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fuberlin.wiwiss.marbles.loading.HttpStatusCodes
public class HttpStatusCodes
Provides functionalities to work with HTTP status codes
Constructor Summary | |
---|---|
HttpStatusCodes()
|
Method Summary | |
---|---|
static boolean |
isRedirect(int statusCode)
Determines whether a given status code indicates a redirect |
static boolean |
isSuccess(int statusCode)
Determines whether a given status code indicates a successful operation |
static java.lang.String |
toString(int statusCode)
Provides an extremely simplified string representation of the status code's meaning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpStatusCodes()
Method Detail |
---|
public static boolean isRedirect(int statusCode)
statusCode
- The status code of interest
public static boolean isSuccess(int statusCode)
statusCode
- The status code of interest
public static java.lang.String toString(int statusCode)
statusCode
- The status code of interest
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |