public interface Message
Modifier and Type | Method and Description |
---|---|
MessageHeader |
getMessageHeader(javax.xml.namespace.QName qname)
Get a specifig message header
|
java.util.List<javax.xml.namespace.QName> |
getMessageHeaderQNames()
Returns a list of all the message headers in the message
|
java.util.List<MessageHeader> |
getMessageHeaders()
Get all of the defined message headers in the message
|
java.lang.Object |
getProperty(java.lang.String name)
Returns a property with the given name.
|
java.util.Set<java.lang.String> |
getPropertyNames()
Returns the names of all the properties of the context.
|
java.util.Set<java.lang.String> |
getSubjectCategories()
Returns a Set of known subject category URI's as Strings.
|
java.util.Map<java.lang.String,javax.security.auth.Subject> |
getSubjects()
Returns the Map of subjects to be used for the invocation.
|
java.lang.Object |
getTransportProperty(java.lang.String name)
Returns a transport property with the given name.
|
java.util.Set<java.lang.String> |
getTransportPropertyNames()
Returns the names of all the transport properties of the message.
|
void |
setMessageHeader(MessageHeader header)
Set a single message header into the message
|
void |
setMessageHeader(javax.xml.namespace.QName qname,
org.w3c.dom.DocumentFragment content)
Add a single header to the message from parts
|
void |
setMessageHeaders(java.util.List<MessageHeader> headers)
Replace all message headers with a new set.
|
void |
setProperty(java.lang.String name,
java.lang.Object o)
Changes the property with the given name.
|
void |
setSubjects(java.util.Map<java.lang.String,javax.security.auth.Subject> subjects)
Changes the Map of subjects to be used for the
invocation.
|
void |
setTransportProperty(java.lang.String name,
java.lang.Object o)
Changes the transport property with the given name.
|
java.util.Set<java.lang.String> getSubjectCategories()
java.util.Map<java.lang.String,javax.security.auth.Subject> getSubjects()
void setSubjects(java.util.Map<java.lang.String,javax.security.auth.Subject> subjects)
subjects
- Map of Subjects keyed by String subject categories.java.util.Set<java.lang.String> getPropertyNames()
java.lang.Object getProperty(java.lang.String name)
name
- Name of the property being accessed.void setProperty(java.lang.String name, java.lang.Object o)
name
- Name of the property being changed.o
- Property value.java.lang.Object getTransportProperty(java.lang.String name)
name
- Name of the transport property being accessed.void setTransportProperty(java.lang.String name, java.lang.Object o)
name
- Name of the transport property being changed.o
- Property value.java.util.Set<java.lang.String> getTransportPropertyNames()
java.util.List<javax.xml.namespace.QName> getMessageHeaderQNames()
java.util.List<MessageHeader> getMessageHeaders()
MessageHeader getMessageHeader(javax.xml.namespace.QName qname)
qname
- the QName of the desired headervoid setMessageHeader(MessageHeader header)
header
- the MessageHeader bean defining the new headervoid setMessageHeader(javax.xml.namespace.QName qname, org.w3c.dom.DocumentFragment content)
qname
- the QName of the new headercontent
- the XML definition of the new header
as a DocumentFragmentvoid setMessageHeaders(java.util.List<MessageHeader> headers)
headers
- a List of MessageHEader beans that will replace
any existing headers?? 2022 Perforce Software, All rights reserved
This software is the confidential and proprietary information of Perforce, Inc. and is subject to copyright protection under laws of the United States of America and other countries. The use of this software should be in accordance with the license agreement terms you entered into with Perforce, Inc.