Class GlueHttpResponseMessage

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

public class GlueHttpResponseMessage extends Object
A HTTP response message.
  • Field Details

    • HTTP_STATUS_SUCCESS

      public static final int HTTP_STATUS_SUCCESS
      HTTP response codes
      See Also:
    • HTTP_STATUS_NOT_FOUND

      public static final int HTTP_STATUS_NOT_FOUND
      See Also:
    • HTTP_STATUS_INTERNAL_SERVER_ERROR

      public static final int HTTP_STATUS_INTERNAL_SERVER_ERROR
      See Also:
    • STATUS_JOB_SUCCESS

      public static final int STATUS_JOB_SUCCESS
      Job이 정상적으로 수행한 경우의 리턴코드
      See Also:
    • STATUS_JOB_ERROR

      public static final int STATUS_JOB_ERROR
      Job이 수행되지 못한 경우의 리턴코드
      See Also:
  • Constructor Details

    • GlueHttpResponseMessage

      public GlueHttpResponseMessage()
  • Method Details

    • 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.core.buffer.IoBuffer getBody()
    • getBodyLength

      public int getBodyLength()