Exemplo n.º 1
0
 protected void setHandlerConfig(HandlerConfiguration handlerConfig) {
   this.handlerConfig = handlerConfig;
   knownHeaders.clear();
   knownHeaders.addAll(addedHeaders);
   if (handlerConfig != null && handlerConfig.getHandlerKnownHeaders() != null)
     knownHeaders.addAll(handlerConfig.getHandlerKnownHeaders());
 }
Exemplo n.º 2
0
 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();
 }
Exemplo n.º 3
0
 public @NotNull List<Handler> getHandlerChain() {
   return handlerConfig.getHandlerChain();
 }