# com.bea.wsrp.logging
HttpLogMessage Interface

public interface HttpLogMessage

Represents a request from a consumer to a producer or a response from a producer to a consumer.

You can use WebLogic logging framework to receive log messages when message monitoring is enabled. WebLogic Portal producer and consumer log SOAP messages with message ID `BEA-420550`.

## Field Summary

`public static final int` | `REQUEST_MESSAGE_TYPE` Message type request
`public static final int` | `RESPONSE_MESSAGE_TYPE` Message type response

## Method Summary

`public `String`` | `getHeader`(`String` name) Returns the value of a header.
`public `Iterator`` | `getHeaders`() Returns an iterator of all header names.
`public `String`` | `getHost`() Returns the host.
`public `String`` | `getMessage`() Returns the message (XML encoded for pretty printing).
`public int` | `getMessageType`() Returns message type.
`public `String`` | `getRawMessage`() Returns the message.
`public long` | `getTimeStamp`() Returs time stamp.
`public `String`` | `getWebAppName`() Returns web app name.

## Field Detail

### REQUEST_MESSAGE_TYPE

    public static final int REQUEST_MESSAGE_TYPE

  Message type request

### RESPONSE_MESSAGE_TYPE

    public static final int RESPONSE_MESSAGE_TYPE

  Message type response

## Method Detail

### getHeader(String) Method

    public String getHeader(String name)

Returns the value of a header.

### getHeaders() Method

    public Iterator getHeaders()

Returns an iterator of all header names.

### getHost() Method

    public String getHost()

Returns the host.

### getMessage() Method

    public String getMessage()

Returns the message (XML encoded for pretty printing).

#### Returns

message

### getMessageType() Method

    public int getMessageType()

Returns message type.

#### Returns

message type

### getRawMessage() Method

    public String getRawMessage()

Returns the message.

#### Returns

message

### getTimeStamp() Method

    public long getTimeStamp()

Returs time stamp.

#### Returns

time stamp

### getWebAppName() Method

    public String getWebAppName()

Returns web app name.

#### Returns

web app name