Package org.jboss.ws.api.annotation
Class TransportGuarantee
java.lang.Object
org.jboss.ws.api.annotation.TransportGuarantee
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
FieldsModifier and TypeFieldDescriptionstatic final StringApplication requires that the data be transmitted in a fashion that prevents other entities from observing the contents of the transmission.static final StringApplication 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 final StringApplication does not require any transport guarantees. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns string representing correctTransportGuaranteevalue.
-
Field Details
-
NONE
Application does not require any transport guarantees.- See Also:
-
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:
-
CONFIDENTIAL
Application requires that the data be transmitted in a fashion that prevents other entities from observing the contents of the transmission.- See Also:
-
-
Method Details
-
valueOf
Returns string representing correctTransportGuaranteevalue.- Parameters:
s- string to convert.- Returns:
- correct transport guarantee value
- Throws:
IllegalArgumentException- if s is null or contains unknown value.
-