Package org.wicketstuff.restutils.http
Class HttpResult
- java.lang.Object
-
- org.wicketstuff.restutils.http.HttpResult
-
public class HttpResult extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intHTTP_OK
-
Constructor Summary
Constructors Constructor Description HttpResult(int httpCode, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHttpCode()StringgetMessage()booleanisSuccessful()
-
-
-
Field Detail
-
HTTP_OK
public static final int HTTP_OK
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HttpResult
public HttpResult(int httpCode, String message)
-
-
Method Detail
-
getHttpCode
public int getHttpCode()
-
getMessage
public String getMessage()
-
isSuccessful
public boolean isSuccessful()
-
-