com.poscoict.glueframework.scheduling.server
Class GlueHttpResponseMessage

java.lang.Object
  extended by com.poscoict.glueframework.scheduling.server.GlueHttpResponseMessage

public class GlueHttpResponseMessage
extends Object

A HTTP response message.


Field Summary
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 Summary
GlueHttpResponseMessage()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTTP_STATUS_SUCCESS

public static final int HTTP_STATUS_SUCCESS
HTTP response codes

See Also:
Constant Field Values

HTTP_STATUS_NOT_FOUND

public static final int HTTP_STATUS_NOT_FOUND
See Also:
Constant Field Values

HTTP_STATUS_INTERNAL_SERVER_ERROR

public static final int HTTP_STATUS_INTERNAL_SERVER_ERROR
See Also:
Constant Field Values

STATUS_JOB_SUCCESS

public static final int STATUS_JOB_SUCCESS
JobÀÌ Á¤»óÀûÀ¸·Î ¼öÇàÇÑ °æ¿ìÀÇ ¸®ÅÏÄÚµå

See Also:
Constant Field Values

STATUS_JOB_ERROR

public static final int STATUS_JOB_ERROR
JobÀÌ ¼öÇàµÇÁö ¸øÇÑ °æ¿ìÀÇ ¸®ÅÏÄÚµå

See Also:
Constant Field Values
Constructor Detail

GlueHttpResponseMessage

public GlueHttpResponseMessage()
Method Detail

getHeaders

public Map<String,String> getHeaders()

setContentType

public void setContentType(String contentType)

setResponseCode

public void setResponseCode(int responseCode)

getResponseCode

public int getResponseCode()

appendBody

public void appendBody(byte[] b)

appendBody

public void appendBody(String s)

getBody

public org.apache.mina.common.ByteBuffer getBody()

getBodyLength

public int getBodyLength()


Copyright © 2013–2018 POSCO ICT. All rights reserved.