public final class MTOMFeature extends WebServiceFeature
Dispatch个在客户端实例和Endpoint个在服务器端实例。 
       此功能不能用于客户端上的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()
              获取用于确定二进制数据何时作为附件发送的阈值。 
             | 
isEnabledpublic 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.