|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
OBEX でのネットワークへの接続を定義します。 クライアントとして通信を行う場合とサーバとして通信を行う場合とで 共通に使われるフィールドやメソッドを定義します。
フィールドの概要 | |
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 |
フィールドの詳細 |
public static final int DISCONNECT
public static final int PUT
public static final int GET
public static final int CONTINUE
public static final int SUCCESS
public static final int CREATED
public static final int ACCEPTED
public static final int NON_AUTHORITATIVE_INFORMATION
public static final int NO_CONTENT
public static final int RESET_CONTENT
public static final int PARTIAL_CONTENT
public static final int MULTIPLE_CHOICES
public static final int MOVED_PERMANENTLY