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 and Description static class
Record.MessageType
Record
's message type; can be either inboud or outbound
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
addHeaders(String key, List<String> value)
Adds a HTTP header to the recordDate
getDate()
Gets the date of this recordString
getDestinationHost()
Gets the source (message sender) host.String
getEnvelope()
Gets the SOAP message envelopeString
getGroupID()
Gets the group ID corresponding to the current message exchange flowMap<String,List<String>>
getHeaders()
Gets the HTTP headersRecord.MessageType
getMessageType()
Gets the message type, i.e.QName
getOperation()
Gets the invoked operationString
getSourceHost()
Gets the source (message sender) host.void
setDate(Date date)
Sets the date of the recordvoid
setDestinationHost(String host)
Sets the destination hostvoid
setEnvelope(String envelope)
Sets the SOAP message envelopevoid
setGroupID(String groupID)
Sets the groupIDvoid
setHeaders(Map<String,List<String>> headers)
Sets the HTTP headers of the recordvoid
setMessageType(Record.MessageType type)
Sets the message typevoid
setOperation(QName operation)
Sets the record's operationvoid
setSourceHost(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
Copyright © 2018 JBoss, by Red Hat. All rights reserved.