com.nttdocomo.io
インタフェース ObexConnection

すべてのスーパーインタフェース:
javax.microedition.io.Connection, javax.microedition.io.InputConnection, javax.microedition.io.OutputConnection, javax.microedition.io.StreamConnection
既知のサブインタフェースの一覧:
ClientObexConnection, FelicaClientObexConnection, FelicaServerObexConnection, ServerObexConnection

public interface ObexConnection
extends javax.microedition.io.StreamConnection

OBEX でのネットワークへの接続を定義します。 クライアントとして通信を行う場合とサーバとして通信を行う場合とで 共通に使われるフィールドやメソッドを定義します。

導入されたバージョン:
DoJa-2.0

フィールドの概要
static int ACCEPTED
           (=0x22)。
static int BAD_GATEWAY
           (=0x52)。
static int BAD_REQUEST
           (=0x40)。
static int COMM_MODE_IRDA [iアプリオプションAPI]
          通信モードの一つで、 IrDA 通信を表します(=0)。
static int COMM_MODE_IRSIMPLE_INTERACTIVE [iアプリオプションAPI]
          通信モードの一つで、 IrSimple 双方向通信を表します(=2)。
static int COMM_MODE_IRSIMPLE_UNILATERALLY [iアプリオプションAPI]
          通信モードの一つで、 IrSimple 片方向通信を表します(=1)。
static int CONFLICT
           (=0x49)。
static int CONTINUE
           (=0x10)。
static int CREATED
           (=0x21)。
static int DATABASE_FULL
           (=0x60)。
static int DATABASE_LOCKED
           (=0x61)。
static int DISCONNECT
           DISCONNECT オペレーションコードを表します (=0x81)。
static int FORBIDDEN
           (=0x43)。
static int GATEWAY_TIMEOUT
           (=0x54)。
static int GET
           GET オペレーションコードを表します (=0x83)。
static int GONE
           (=0x4a)。
static int HTTP_VERSION_NOT_SUPPORTED
           (=0x55)。
static int INTERNAL_SERVER_ERROR
           (=0x50)。
static int LENGTH_REQUIRED
           (=0x4b)。
static int METHOD_NOT_ALLOWED
           (=0x45)。
static int MOVED_PERMANENTLY
           (=0x31)。
static int MOVED_TEMPORARILY
           (=0x32)。
static int MULTIPLE_CHOICES
           (=0x30)。
static int NO_CONTENT
           (=0x24)。
static int NON_AUTHORITATIVE_INFORMATION
           (=0x23)。
static int NOT_ACCEPTABLE
           (=0x46)。
static int NOT_FOUND
           (=0x44)。
static int NOT_IMPLEMENTED
           (=0x51)。
static int NOT_MODIFIED
           (=0x34)。
static int PARTIAL_CONTENT
           (=0x26)。
static int PAYMENT_REQUIRED
           (=0x42)。
static int PRECONDITION_FAILED
           (=0x4c)。
static int PROXY_AUTHENTICATION_REQUIRED
           (=0x47)。
static int PUT
           PUT オペレーションコードを表します (=0x82)。
static int REQUEST_ENTITY_TOO_LARGE
           (=0x4d)。
static int REQUEST_TIME_OUT
           (=0x48)。
static int REQUEST_URL_TOO_LARGE
           (=0x4e)。
static int RESET_CONTENT
           (=0x25)。
static int SEE_OTHER
           (=0x33)。
static int SERVICE_UNAVAILABLE
           (=0x53)。
static int SUCCESS
           (=0x20)。
static int UNAUTHORIZED
           (=0x41)。
static int UNSUPPORTED_MEDIA_TYPE
           (=0x4f)。
static int USE_PROXY
           (=0x35)。
 
メソッドの概要
 int getCommMode() [iアプリオプションAPI]
          接続確立後の通信モードを取得します。
 int getContentLength()
           コンテンツの長さを取得します。
 String getName()
           NAME ヘッダを取得します。
 long getTime()
           TIME ヘッダを取得します。
 String getType()
           TYPE ヘッダを取得します。
 void setName(String name)
           NAME ヘッダを設定します。
 void setTime(long time)
           TIME ヘッダを設定します。
 void setType(String type)
           TYPE ヘッダを設定します。
 
インタフェース javax.microedition.io.InputConnection から継承したメソッド
openDataInputStream, openInputStream
 
インタフェース javax.microedition.io.Connection から継承したメソッド
close
 
インタフェース javax.microedition.io.OutputConnection から継承したメソッド
openDataOutputStream, openOutputStream
 

フィールドの詳細

DISCONNECT

public static final int DISCONNECT
DISCONNECT オペレーションコードを表します (=0x81)。

関連項目:
定数フィールド値

PUT

public static final int PUT
PUT オペレーションコードを表します (=0x82)。

関連項目:
定数フィールド値

GET

public static final int GET
GET オペレーションコードを表します (=0x83)。

関連項目:
定数フィールド値

CONTINUE

public static final int CONTINUE
(=0x10)。

関連項目:
定数フィールド値

SUCCESS

public static final int SUCCESS
(=0x20)。

関連項目:
定数フィールド値

CREATED

public static final int CREATED
(=0x21)。

関連項目:
定数フィールド値

ACCEPTED

public static final int ACCEPTED
(=0x22)。

関連項目:
定数フィールド値

NON_AUTHORITATIVE_INFORMATION

public static final int NON_AUTHORITATIVE_INFORMATION
(=0x23)。

関連項目:
定数フィールド値

NO_CONTENT

public static final int NO_CONTENT
(=0x24)。

関連項目:
定数フィールド値

RESET_CONTENT

public static final int RESET_CONTENT
(=0x25)。

関連項目:
定数フィールド値

PARTIAL_CONTENT

public static final int PARTIAL_CONTENT
(=0x26)。

関連項目:
定数フィールド値

MULTIPLE_CHOICES

public static final int MULTIPLE_CHOICES
(=0x30)。

関連項目:
定数フィールド値

MOVED_PERMANENTLY

public static final int MOVED_PERMANENTLY
(=0x31)。

関連項目:
定数フィールド値

螳壽焚繝輔ぅ繝シ繝ォ繝牙