public final class MTOMFeature extends WebServiceFeature
Endpoint
Dispatch
实例实例。此功能不可用于
Service
实例创建在客户端。
以下介绍了此功能的影响,相对于被启用或禁用:
的threshold
属性可用于设置阈值用于确定何时应该XOP编码二进制数据。
Modifier and Type | Field and Description |
---|---|
static String |
ID
定值确定mtomfeature
|
protected int |
threshold
因为MTOM阈值特性。
|
enabled
Constructor and Description |
---|
MTOMFeature()
创建一个
MTOMFeature 。
|
MTOMFeature(boolean enabled)
创建一个
MTOMFeature 。
|
MTOMFeature(boolean enabled, int threshold)
创建一个
MTOMFeature 。
|
MTOMFeature(int threshold)
创建一个
MTOMFeature 。
|
Modifier and Type | Method and Description |
---|---|
String |
getID()
得到的唯一标识该webservicefeature。
|
int |
getThreshold()
获取用于确定何时应发送二进制数据作为附件的阈值值。
|
isEnabled
public static final String ID
protected int threshold
public MTOMFeature()
MTOMFeature
。创建的实例将被启用。
public MTOMFeature(boolean enabled)
MTOMFeature
。
enabled
-指定是否启用或禁用此功能应
public MTOMFeature(int threshold)
MTOMFeature
。创建的实例将被启用。
threshold
-字节的二进制数据前应作为附件发送的大小。
WebServiceException
如果阈值小于0
public MTOMFeature(boolean enabled, int threshold)
MTOMFeature
。
enabled
-指定是否启用或禁用此功能应
threshold
-字节的二进制数据前应作为附件发送的大小。
WebServiceException
如果阈值小于0
public String getID()
getID
方法重写,继承类
WebServiceFeature
public int getThreshold()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.