com.sun.xml.ws.message
Class FaultMessage
java.lang.Object
com.sun.xml.ws.api.message.Message
com.sun.xml.ws.api.message.FilterMessageImpl
com.sun.xml.ws.message.FaultMessage
public class FaultMessage
- extends FilterMessageImpl
SOAP Fault message. It has optimized implementation to get
first detail entry's name. This is useful to identify the
corresponding WSDLFault
Methods inherited from class com.sun.xml.ws.api.message.FilterMessageImpl |
consume, copy, getAttachments, getHeaders, getID, getID, getMessageHeaders, getPayloadLocalPart, getPayloadNamespaceURI, getSOAPVersion, hasAttachments, hasHeaders, hasPayload, isFault, isOneWay, readAsSOAPMessage, readAsSOAPMessage, readEnvelopeAsSource, readPayload, readPayloadAsJAXB, readPayloadAsJAXB, readPayloadAsJAXB, readPayloadAsSource, writePayloadTo, writeTo, writeTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FaultMessage
public FaultMessage(Message delegate,
@Nullable
QName detailEntryName)
getFirstDetailEntryName
@Nullable
public QName getFirstDetailEntryName()
- Description copied from class:
Message
- It gives S:Envelope/S:Body/S:Fault/detail 's first child's name. Should
be called for messages that have SOAP Fault.
This implementation is expensive so concrete implementations are
expected to override this one.
- Overrides:
getFirstDetailEntryName
in class FilterMessageImpl
- Returns:
- first detail entry's name, if there is one
else null
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.