public class RequestResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
static RequestResponse |
MSG_200 |
static RequestResponse |
MSG_403 |
static RequestResponse |
MSG_404 |
static RequestResponse |
MSG_500 |
| Constructor and Description |
|---|
RequestResponse(byte[] data) |
RequestResponse(HtmlString data) |
RequestResponse(String data) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBinary() |
String |
getLocation()
location property used for 302
|
int |
getStatusCode() |
boolean |
isHtml() |
static RequestResponse |
MSG_302(String s) |
void |
setLocation(String location) |
String |
toString() |
public static final RequestResponse MSG_403
public static final RequestResponse MSG_404
public static final RequestResponse MSG_500
public static final RequestResponse MSG_200
public RequestResponse(String data)
public RequestResponse(HtmlString data)
public RequestResponse(byte[] data)
public static final RequestResponse MSG_302(String s)
public byte[] getBinary()
public boolean isHtml()
public int getStatusCode()
public String getLocation()
public void setLocation(String location)
Copyright © 2015. All rights reserved.