com.sun.xml.ws.api.transport.tcp
Enum SelectOptimalTransportFeature.Transport

java.lang.Object
  extended by java.lang.Enum<SelectOptimalTransportFeature.Transport>
      extended by com.sun.xml.ws.api.transport.tcp.SelectOptimalTransportFeature.Transport
All Implemented Interfaces:
Serializable, Comparable<SelectOptimalTransportFeature.Transport>
Enclosing class:
SelectOptimalTransportFeature

public static enum SelectOptimalTransportFeature.Transport
extends Enum<SelectOptimalTransportFeature.Transport>

This enumeration defines an optimized transport list

See Also:
DeliveryAssurance#TCP

Enum Constant Summary
TCP
          SOAP/TCP transport
 
Method Summary
static SelectOptimalTransportFeature.Transport getDefault()
          Provides a default optimized transport value.
static SelectOptimalTransportFeature.Transport valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SelectOptimalTransportFeature.Transport[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TCP

public static final SelectOptimalTransportFeature.Transport TCP
SOAP/TCP transport

Method Detail

values

public static SelectOptimalTransportFeature.Transport[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SelectOptimalTransportFeature.Transport c : SelectOptimalTransportFeature.Transport.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SelectOptimalTransportFeature.Transport valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getDefault

public static SelectOptimalTransportFeature.Transport getDefault()
Provides a default optimized transport value.

Returns:
a default optimized transport value. Currently returns TCP.


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.