Package org.jboss.ws.api.annotation
Class TransportGuarantee
- java.lang.Object
-
- org.jboss.ws.api.annotation.TransportGuarantee
-
public final class TransportGuarantee extends Object
The transportGuarantee specifies that the communication between client and server should be NONE, INTEGRAL, or CONFIDENTIAL. NONE means that the application does not require any transport guarantees. A value of INTEGRAL means that the application requires that the data sent between the client and server be sent in such a way that it can't be changed in transit. CONFIDENTIAL means that the application requires that the data be transmitted in a fashion that prevents other entities from observing the contents of the transmission. In most cases, the presence of the INTEGRAL or CONFIDENTIAL flag will indicate that the use of SSL is required.- Author:
- Richard Opalka
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIDENTIALApplication requires that the data be transmitted in a fashion that prevents other entities from observing the contents of the transmission.static StringINTEGRALApplication requires that the data sent between the client and server be sent in such a way that it can't be changed in transit.static StringNONEApplication does not require any transport guarantees.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringvalueOf(String s)Returns string representing correctTransportGuaranteevalue.
-
-
-
Field Detail
-
NONE
public static final String NONE
Application does not require any transport guarantees.- See Also:
- Constant Field Values
-
INTEGRAL
public static final String INTEGRAL
Application requires that the data sent between the client and server be sent in such a way that it can't be changed in transit.- See Also:
- Constant Field Values
-
CONFIDENTIAL
public static final String CONFIDENTIAL
Application requires that the data be transmitted in a fashion that prevents other entities from observing the contents of the transmission.- See Also:
- Constant Field Values
-
-
Method Detail
-
valueOf
public static String valueOf(String s)
Returns string representing correctTransportGuaranteevalue.- Parameters:
s- string to convert.- Returns:
- correct transport guarantee value
- Throws:
IllegalArgumentException- if s is null or contains unknown value.
-
-