パッケージ org.fanout.gripcontrol
クラス Response
java.lang.Object
org.fanout.gripcontrol.Response
public class Response extends Object
The Response class is used to represent a set of HTTP response data.
Populated instances of this class are serialized to JSON and passed
to the GRIP proxy in the body. The GRIP proxy then parses the message
and deserialized the JSON into an HTTP response that is passed back
to the client.
-
フィールドの概要
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 Response(byte[] body)Initialize with the body.Response(byte[] body, Map<String,String> headers)Initialize with the body and headers.Response(byte[] body, Map<String,String> headers, String code, String reason)Initialize with the body, headers, code and reason.Response(String body)Initialize with the body.Response(String body, Map<String,String> headers)Initialize with the body and headers.Response(String body, Map<String,String> headers, String code, String reason)Initialize with the body, headers, code and reason. -
メソッドの概要
-
フィールド詳細
-
body
public byte[] body -
headers
-
code
-
reason
-
-
コンストラクタの詳細
-
Response
Initialize with the body. -
Response
Initialize with the body and headers. -
Response
public Response(String body, Map<String,String> headers, String code, String reason) throws UnsupportedEncodingExceptionInitialize with the body, headers, code and reason. -
Response
Initialize with the body. -
Response
Initialize with the body and headers. -
Response
public Response(byte[] body, Map<String,String> headers, String code, String reason) throws UnsupportedEncodingExceptionInitialize with the body, headers, code and reason.
-