|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.xml.ws.WebServiceFeature
javax.xml.ws.soap.MTOMFeature
public final class MTOMFeature
この機能は、Web サービスでの MTOM の使用を表します。
この機能を有効または無効にした場合の影響は次のとおりです。
threshold プロパティーを使用して、いつバイナリデータを XOP でエンコードすべきかどうかを判定するためのしきい値を設定できます。
| フィールドの概要 | |
|---|---|
static String |
ID
MTOMFeature を識別する定数です。 |
protected int |
threshold
MTOM しきい値のプロパティーです。 |
| クラス javax.xml.ws.WebServiceFeature から継承されたフィールド |
|---|
enabled |
| コンストラクタの概要 | |
|---|---|
MTOMFeature()
MTOMFeature を作成します。 |
|
MTOMFeature(boolean enabled)
MTOMFeature を作成します。 |
|
MTOMFeature(boolean enabled,
int threshold)
MTOMFeature を作成します。 |
|
MTOMFeature(int threshold)
MTOMFeature を作成します。 |
|
| メソッドの概要 | |
|---|---|
String |
getID()
この WebServiceFeature の一意の識別子を取得します。 |
int |
getThreshold()
バイナリデータを添付として送信すべきかどうかを判定するためのしきい値を取得します。 |
| クラス javax.xml.ws.WebServiceFeature から継承されたメソッド |
|---|
isEnabled |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final String ID
protected int threshold
| コンストラクタの詳細 |
|---|
public MTOMFeature()
MTOMFeature を作成します。作成されたインスタンスは有効になります。
public MTOMFeature(boolean enabled)
MTOMFeature を作成します。
enabled - この機能を有効にするかどうかを指定するpublic MTOMFeature(int threshold)
MTOMFeature を作成します。作成されたインスタンスは有効になります。
threshold - 添付として送信すべきバイナリデータのサイズ (バイト単位)
WebServiceException - threshold が 0 より小さい場合
public MTOMFeature(boolean enabled,
int threshold)
MTOMFeature を作成します。
enabled - この機能を有効にするかどうかを指定するthreshold - 添付として送信すべきバイナリデータのサイズ (バイト単位)
WebServiceException - threshold が 0 より小さい場合| メソッドの詳細 |
|---|
public String getID()
WebServiceFeature 内の getIDpublic int getThreshold()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。