Package com.sun.xml.ws.api.client
Class ThrowableInPacketCompletionFeature
- java.lang.Object
-
- javax.xml.ws.WebServiceFeature
-
- com.sun.xml.ws.api.client.ThrowableInPacketCompletionFeature
-
public class ThrowableInPacketCompletionFeature extends javax.xml.ws.WebServiceFeatureWhen usingDispatch<Packet> and the invocation completes with a Throwable, it is useful to be able to inspect the Packet in addition to the Throwable as the Packet contains meta-data about the request and/or response. However, the default behavior is that the caller only receives the Throwable. When an instance of this feature is enabled on the binding, any Throwable generated will be available on the Packet on the satelliteThrowableContainerPropertySet.- See Also:
ThrowableContainerPropertySet
-
-
Constructor Summary
Constructors Constructor Description ThrowableInPacketCompletionFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetID()
-
-
-
Method Detail
-
getID
public String getID()
- Specified by:
getIDin classjavax.xml.ws.WebServiceFeature
-
-