org.maachang.service.http
クラス HttpResult

java.lang.Object
  上位を拡張 org.maachang.service.http.HttpResult

public class HttpResult
extends java.lang.Object

Http結果情報.

導入されたバージョン:
MaaEngine 1.00
バージョン:
2007/10/18
作成者:
masahito suzuki

コンストラクタの概要
HttpResult()
          コンストラクタ.
HttpResult(byte[] binary, int state, java.lang.String contentType)
          コンストラクタ.
 
メソッドの概要
 byte[] getBinary()
          binary を取得.
 java.lang.String getContentType()
          contentType を取得.
 int getState()
          state を取得.
 void setBinary(byte[] binary)
          binary を設定.
 void setContentType(java.lang.String contentType)
          contentType を設定.
 void setState(int state)
          state を設定.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

HttpResult

public HttpResult()
コンストラクタ.


HttpResult

public HttpResult(byte[] binary,
                  int state,
                  java.lang.String contentType)
コンストラクタ.

パラメータ:
binary - 対象のバイナリを設定します.
state - 対象のステータスを設定します.
contentType - 対象のContentTypeを設定します.
メソッドの詳細

getBinary

public byte[] getBinary()
binary を取得.

戻り値:
binary が返されます.

setBinary

public void setBinary(byte[] binary)
binary を設定.

パラメータ:
binary - binary を設定します.

getContentType

public java.lang.String getContentType()
contentType を取得.

戻り値:
contentType が返されます.

setContentType

public void setContentType(java.lang.String contentType)
contentType を設定.

パラメータ:
contentType - contentType を設定します.

getState

public int getState()
state を取得.

戻り値:
state が返されます.

setState

public void setState(int state)
state を設定.

パラメータ:
state - state を設定します.