public class GlueHttpResponseMessage extends Object
Modifier and Type | Field and Description |
---|---|
static int |
HTTP_STATUS_INTERNAL_SERVER_ERROR |
static int |
HTTP_STATUS_NOT_FOUND |
static int |
HTTP_STATUS_SUCCESS
HTTP response codes
|
static int |
STATUS_JOB_ERROR
Job이 수행되지 못한 경우의 리턴코드
|
static int |
STATUS_JOB_SUCCESS
Job이 정상적으로 수행한 경우의 리턴코드
|
Constructor and Description |
---|
GlueHttpResponseMessage() |
Modifier and Type | Method and Description |
---|---|
void |
appendBody(byte[] b) |
void |
appendBody(String s) |
org.apache.mina.common.ByteBuffer |
getBody() |
int |
getBodyLength() |
Map<String,String> |
getHeaders() |
int |
getResponseCode() |
void |
setContentType(String contentType) |
void |
setResponseCode(int responseCode) |
public static final int HTTP_STATUS_SUCCESS
public static final int HTTP_STATUS_NOT_FOUND
public static final int HTTP_STATUS_INTERNAL_SERVER_ERROR
public static final int STATUS_JOB_SUCCESS
public static final int STATUS_JOB_ERROR
public void setContentType(String contentType)
public void setResponseCode(int responseCode)
public int getResponseCode()
public void appendBody(byte[] b)
public void appendBody(String s)
public org.apache.mina.common.ByteBuffer getBody()
public int getBodyLength()
Copyright © 2013–2021 POSCO ICT. All rights reserved.