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
static class Record.MessageType
          Record's message type; can be either inboud or outbound
 
Method Summary
 void addHeaders(String key, List<String> value)
          Adds a HTTP header to the record
 Date getDate()
          Gets the date of this record
 String getDestinationHost()
          Gets the source (message sender) host.
 String getEnvelope()
          Gets the SOAP message envelope
 String getGroupID()
          Gets the group ID corresponding to the current message exchange flow
 Map<String,List<String>> getHeaders()
          Gets the HTTP headers
 Record.MessageType getMessageType()
          Gets the message type, i.e.
 QName getOperation()
          Gets the invoked operation
 String getSourceHost()
          Gets the source (message sender) host.
 void setDate(Date date)
          Sets the date of the record
 void setDestinationHost(String host)
          Sets the destination host
 void setEnvelope(String envelope)
          Sets the SOAP message envelope
 void setGroupID(String groupID)
          Sets the groupID
 void setHeaders(Map<String,List<String>> headers)
          Sets the HTTP headers of the record
 void setMessageType(Record.MessageType type)
          Sets the message type
 void setOperation(QName operation)
          Sets the record's operation
 void 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 -

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 -

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 -

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 -

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 -

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 -

getHeaders

Map<String,List<String>> getHeaders()
Gets the HTTP headers

Returns:
the headers

addHeaders

void addHeaders(String key,
                List<String> value)
Adds a HTTP header to the record

Parameters:
key -
value -

setHeaders

void setHeaders(Map<String,List<String>> headers)
Sets the HTTP headers of the record

Parameters:
headers -

getOperation

QName getOperation()
Gets the invoked operation

Returns:
the operation

setOperation

void setOperation(QName operation)
Sets the record's operation

Parameters:
operation -


Copyright © 2012 JBoss, by Red Hat. All Rights Reserved.