Interface Record

All Superinterfaces:
Serializable

public interface Record extends Serializable
An interface defining recordable data
Since:
8-Dec-2007
Author:
Alessio Soldano
  • Method Details

    • 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
    • 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 - id
      value - 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