Methods Summary |
---|
public void | clear()
// We just clear whatever we set; we do not clear jaxws's properties'
packet.invocationProperties.clear();
|
public boolean | containsKey(java.lang.Object obj)
// First check our property bag
if(packet.supports(obj)) {
return packet.containsKey(obj);
}
return packet.invocationProperties.containsKey(obj);
|
public boolean | containsValue(java.lang.Object obj)
return packet.invocationProperties.containsValue(obj);
|
public java.util.Set | entrySet()
return packet.invocationProperties.entrySet();
|
public java.lang.Object | get(java.lang.Object obj)
if(packet.supports(obj)) {
return packet.get(obj);
}
return packet.invocationProperties.get(obj);
|
public java.lang.Object[] | getHeaders(javax.xml.namespace.QName header, javax.xml.bind.JAXBContext jaxbContext, boolean allRoles)
// this is a dummy impl; we do not use it at all
return null;
|
public javax.xml.soap.SOAPMessage | getMessage()
if (message != null) {
return message;
}
SOAPMessage soapMsg = null;
try {
//before converting to SOAPMessage, make a copy. We don't want to consume
//the original message
Message mutable = packet.getMessage().copy();
soapMsg = mutable.readAsSOAPMessage();
} catch (Exception e) {
e.printStackTrace();
}
//store the message so we don't have to convert again
message = soapMsg;
return soapMsg;
|
public java.util.Set | getRoles()
// this is a dummy impl; we do not use it at all
return null;
|
public javax.xml.ws.handler.MessageContext.Scope | getScope(java.lang.String name)
// this is a dummy impl; we do not use it at all
return null;
|
public boolean | isAlreadySoap()
// In jaxws-rearch, only SOAP messages come here
// So always return true
return true;
|
public boolean | isEmpty()
return packet.invocationProperties.isEmpty();
|
public java.util.Set | keySet()
return packet.invocationProperties.keySet();
|
public java.lang.Object | put(java.lang.String str, java.lang.Object obj)
return packet.invocationProperties.put(str, obj);
|
public void | putAll(java.util.Map map)
packet.invocationProperties.putAll(map);
|
public java.lang.Object | remove(java.lang.Object obj)
return packet.invocationProperties.remove(obj);
|
public void | setMessage(javax.xml.soap.SOAPMessage newMsg)
message = newMsg;
//keep the com.sun.xml.ws.api.message.Message in the packet consistent with the
//SOAPMessage we are storing here.
packet.setMessage(Messages.create(newMsg));
|
public void | setPacket(com.sun.xml.ws.api.message.Packet packet)
this.packet = packet;
this.message = null;
|
public void | setScope(java.lang.String name, javax.xml.ws.handler.MessageContext.Scope scope)
// this is a dummy impl; we do not use it at all
return;
|
public int | size()
return packet.invocationProperties.size();
|
public java.util.Collection | values()
return packet.invocationProperties.values();
|