Example usage for javax.xml.ws.handler LogicalMessageContext get

List of usage examples for javax.xml.ws.handler LogicalMessageContext get

Introduction

In this page you can find the example usage for javax.xml.ws.handler LogicalMessageContext get.

Prototype

V get(Object key);

Source Link

Document

Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.

Usage

From source file:be.e_contract.dssp.client.AttachmentsLogicalHandler.java

@Override
public boolean handleMessage(LogicalMessageContext context) {
    Boolean outbound = (Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
    if (!outbound) {
        this.inboundAttachments = (Map<String, DataHandler>) context
                .get(MessageContext.INBOUND_MESSAGE_ATTACHMENTS);
        LOG.debug("inbound attachments: " + this.inboundAttachments.keySet());
    }/*w  w w .  j  a va2s  .c om*/
    return true;
}