|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface ObexConnection
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 |
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.OutputConnection から継承されたメソッド |
---|
openDataOutputStream, openOutputStream |
インタフェース javax.microedition.io.Connection から継承されたメソッド |
---|
close |
フィールドの詳細 |
---|
static final int DISCONNECT
static final int PUT
static final int GET
static final int CONTINUE
static final int SUCCESS
static final int CREATED
static final int ACCEPTED
static final int NON_AUTHORITATIVE_INFORMATION
static final int NO_CONTENT
static final int RESET_CONTENT
static final int PARTIAL_CONTENT
static final int MULTIPLE_CHOICES
static final int MOVED_PERMANENTLY
static final int MOVED_TEMPORARILY
static final int SEE_OTHER
static final int NOT_MODIFIED
static final int USE_PROXY
static final int BAD_REQUEST
static final int UNAUTHORIZED