protected void setHandlerConfig(HandlerConfiguration handlerConfig) { this.handlerConfig = handlerConfig; knownHeaders.clear(); knownHeaders.addAll(addedHeaders); if (handlerConfig != null && handlerConfig.getHandlerKnownHeaders() != null) knownHeaders.addAll(handlerConfig.getHandlerKnownHeaders()); }
protected BindingImpl(BindingID bindingId, WebServiceFeature... features) { this.bindingId = bindingId; handlerConfig = new HandlerConfiguration(Collections.<String>emptySet(), Collections.<Handler>emptyList()); if (handlerConfig.getHandlerKnownHeaders() != null) knownHeaders.addAll(handlerConfig.getHandlerKnownHeaders()); this.features = new WebServiceFeatureList(features); this.features.validate(); }
public @NotNull List<Handler> getHandlerChain() { return handlerConfig.getHandlerChain(); }