Package com.sun.xml.ws.api.model
Enum MEP
- java.lang.Object
-
- java.lang.Enum<MEP>
-
- com.sun.xml.ws.api.model.MEP
-
- All Implemented Interfaces:
Serializable,Comparable<MEP>
public enum MEP extends Enum<MEP>
Constants that represents four message exchange patterns.- Author:
- Kohsuke Kawaguchi
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASYNC_CALLBACKASYNC_POLLONE_WAYREQUEST_RESPONSE
-
Field Summary
Fields Modifier and Type Field Description booleanisAsyncTrue forASYNC_CALLBACKandASYNC_POLL.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisOneWay()static MEPvalueOf(String name)Returns the enum constant of this type with the specified name.static MEP[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Field Detail
-
isAsync
public final boolean isAsync
True forASYNC_CALLBACKandASYNC_POLL.
-
-
Method Detail
-
values
public static MEP[] 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 (MEP c : MEP.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MEP 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 nameNullPointerException- if the argument is null
-
isOneWay
public final boolean isOneWay()
-
-