Package org.jboss.ws.api.monitoring
Interface Record
- All Superinterfaces:
Serializable
An interface defining recordable data
- Since:
- 8-Dec-2007
- Author:
- Alessio Soldano
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumRecord's message type; can be either inboud or outbound -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHeaders(String key, List<String> value) Adds a HTTP header to the recordgetDate()Gets the date of this recordGets the source (message sender) host.Gets the SOAP message envelopeGets the group ID corresponding to the current message exchange flowGets the HTTP headersGets the message type, i.e.Gets the invoked operationGets the source (message sender) host.voidSets the date of the recordvoidsetDestinationHost(String host) Sets the destination hostvoidsetEnvelope(String envelope) Sets the SOAP message envelopevoidsetGroupID(String groupID) Sets the groupIDvoidsetHeaders(Map<String, List<String>> headers) Sets the HTTP headers of the recordvoidSets the message typevoidsetOperation(QName operation) Sets the record's operationvoidsetSourceHost(String host) Sets the source host
-
Method Details
-
getGroupID
String getGroupID()Gets the group ID corresponding to the current message exchange flow- Returns:
- the groupID of the record
-
setGroupID
Sets the groupID- Parameters:
groupID- id
-
getDate
Date getDate()Gets the date of this record- Returns:
- the date of the record
-
setDate
Sets the date of the record- Parameters:
date- date
-
getSourceHost
String getSourceHost()Gets the source (message sender) host. The result format conforms to RFC2732- Returns:
- source host
-
setSourceHost
Sets the source host- Parameters:
host- source host
-
getDestinationHost
String getDestinationHost()Gets the source (message sender) host. The result format conforms to RFC2732- Returns:
- the source host
-
setDestinationHost
Sets the destination host- Parameters:
host- destination host
-
getMessageType
Record.MessageType getMessageType()Gets the message type, i.e. MessageType.INBOUND or MessageType.OUTBOUND- Returns:
- the message type
-
setMessageType
Sets the message type- Parameters:
type- message type
-
getEnvelope
String getEnvelope()Gets the SOAP message envelope- Returns:
- the SOAP message envelope
-
setEnvelope
Sets the SOAP message envelope- Parameters:
envelope- SOAP message envelope
-
getHeaders
Gets the HTTP headers- Returns:
- the headers
-
addHeaders
Adds a HTTP header to the record- Parameters:
key- idvalue- value
-
setHeaders
Sets the HTTP headers of the record- Parameters:
headers- HTTP headers
-
getOperation
QName getOperation()Gets the invoked operation- Returns:
- the operation
-
setOperation
Sets the record's operation- Parameters:
operation- record operation
-