このインタフェースでは、コンテンツが通過するストリーム接続が定義されます。
メソッドの概要 | |
String |
getEncoding()
接続先のリソースが提供しているコンテンツのエンコーディングを記述している文字列を返します。 |
long |
getLength()
提供されているコンテンツの長さを返します。 |
String |
getType()
接続されているリソースが提供しているコンテンツの種類を返します。 |
インタフェース javax.microedition.io.InputConnection から継承したメソッド |
openDataInputStream,
openInputStream |
インタフェース javax.microedition.io.OutputConnection から継承したメソッド |
openDataOutputStream,
openOutputStream |
メソッドの詳細 |
public String getType()
content-type
ヘッダフィールドの値が返されます。null
public String getEncoding()
content-encoding
ヘッダフィールドの値が返されます。null
public long getLength()
content-length
ヘッダフィールドの値が返されます。-1