io.tracee.contextlogger.contextprovider.jaxws.TraceeClientHandlerResolverBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of contextprovider-jaxws Show documentation
Show all versions of contextprovider-jaxws Show documentation
Please refer to https://github.com/tracee/contextlogger.
package io.tracee.contextlogger.contextprovider.jaxws;
import javax.xml.ws.handler.HandlerResolver;
import javax.xml.ws.handler.soap.SOAPHandler;
import javax.xml.ws.handler.soap.SOAPMessageContext;
/**
* Fluent interface to build client handler resolver
*/
public interface TraceeClientHandlerResolverBuilder {
/**
* Finishes creation of handler resolver and returns a {@link HandlerResolver} instance.
* @return a reference to a handler resolver (this in most cases)
*/
HandlerResolver build();
/**
* Adds an existing {@link javax.xml.ws.handler.soap.SOAPHandler} instance to the HandlerResolver.
* @param handler the instance to add
* @return this builder instance
*/
TraceeClientHandlerResolverBuilder add(final SOAPHandler handler);
/**
* Creates a {@link javax.xml.ws.handler.soap.SOAPHandler} instance via reflection and adds it to the HandlerResolver.
* @param handlerType the instance to add
* @return this builder instance
*/
TraceeClientHandlerResolverBuilder add(final Class extends SOAPHandler> handlerType);
}