com.sun.xml.ws.api.handler.MessageHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webservices-osgi Show documentation
Show all versions of webservices-osgi Show documentation
Metro Web Services Runtime OSGi Bundle
The newest version!
/*
* Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package com.sun.xml.ws.api.handler;
import jakarta.xml.ws.handler.Handler;
import javax.xml.namespace.QName;
import java.util.Set;
/**
* The MessageHandler
class extends Handler
* to provide typesafety for the message context parameter and add a method
* to obtain access to the headers that may be processed by the handler.
* Its provides similar functionality as a SOAPHandler but provides RI's
* Message in the MessageContext.
*
* @author Rama Pulavarthi
* @since JAX-WS 2.1.3
*/
public interface MessageHandler extends Handler {
/** Gets the header blocks that can be processed by this Handler
* instance.
*
* @return Set of QNames
of header blocks processed by this
* handler instance. QName
is the qualified
* name of the outermost element of the Header block.
**/
Set getHeaders();
}