Package org.jboss.ws.api.monitoring
Interface Record
-
- All Superinterfaces:
Serializable
public interface Record extends Serializable
An interface defining recordable data- Since:
- 8-Dec-2007
- Author:
- Alessio Soldano
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRecord.MessageTypeRecord's message type; can be either inboud or outbound
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddHeaders(String key, List<String> value)Adds a HTTP header to the recordDategetDate()Gets the date of this recordStringgetDestinationHost()Gets the source (message sender) host.StringgetEnvelope()Gets the SOAP message envelopeStringgetGroupID()Gets the group ID corresponding to the current message exchange flowMap<String,List<String>>getHeaders()Gets the HTTP headersRecord.MessageTypegetMessageType()Gets the message type, i.e.QNamegetOperation()Gets the invoked operationStringgetSourceHost()Gets the source (message sender) host.voidsetDate(Date date)Sets 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 recordvoidsetMessageType(Record.MessageType type)Sets the message typevoidsetOperation(QName operation)Sets the record's operationvoidsetSourceHost(String host)Sets the source host
-
-
-
Method Detail
-
getGroupID
String getGroupID()
Gets the group ID corresponding to the current message exchange flow- Returns:
- the groupID of the record
-
setGroupID
void setGroupID(String groupID)
Sets the groupID- Parameters:
groupID- id
-
getDate
Date getDate()
Gets the date of this record- Returns:
- the date of the record
-
setDate
void setDate(Date date)
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
void setSourceHost(String host)
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
void setDestinationHost(String host)
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
void setMessageType(Record.MessageType type)
Sets the message type- Parameters:
type- message type
-
getEnvelope
String getEnvelope()
Gets the SOAP message envelope- Returns:
- the SOAP message envelope
-
setEnvelope
void setEnvelope(String envelope)
Sets the SOAP message envelope- Parameters:
envelope- SOAP message envelope
-
addHeaders
void addHeaders(String key, List<String> value)
Adds a HTTP header to the record- Parameters:
key- idvalue- value
-
setHeaders
void setHeaders(Map<String,List<String>> headers)
Sets the HTTP headers of the record- Parameters:
headers- HTTP headers
-
getOperation
QName getOperation()
Gets the invoked operation- Returns:
- the operation
-
setOperation
void setOperation(QName operation)
Sets the record's operation- Parameters:
operation- record operation
-
-