/** * * The created pipeline is used to serve this {@link com.sun.xml.ws.api.server.WSEndpoint}. * Specifically, its {@link com.sun.xml.ws.api.WSBinding} should be of interest to many * {@link com.sun.xml.ws.api.pipe.Pipe}s. * @return Always non-null. */ public @NotNull WSEndpoint getEndpoint() { return wrappedContext.getEndpoint(); }
/** * * The created pipeline is used to serve this {@link com.sun.xml.ws.api.server.WSEndpoint}. * Specifically, its {@link com.sun.xml.ws.api.WSBinding} should be of interest to many * {@link com.sun.xml.ws.api.pipe.Pipe}s. * @return Always non-null. */ public @NotNull WSEndpoint getEndpoint() { return wrappedContext.getEndpoint(); }
/** * * The created pipeline is used to serve this {@link com.sun.xml.ws.api.server.WSEndpoint}. * Specifically, its {@link com.sun.xml.ws.api.WSBinding} should be of interest to many * {@link com.sun.xml.ws.api.pipe.Pipe}s. * @return Always non-null. */ public @NotNull WSEndpoint getEndpoint() { return wrappedContext.getEndpoint(); }
public DefaultServerTubelineAssemblyContext(@NotNull ServerTubeAssemblerContext context) { this.wrappedContext = context; this.policyMap = context.getEndpoint().getPolicyMap(); }
public DefaultServerTubelineAssemblyContext(@NotNull ServerTubeAssemblerContext context) { this.wrappedContext = context; this.policyMap = context.getEndpoint().getPolicyMap(); }
public DefaultServerTubelineAssemblyContext(@NotNull ServerTubeAssemblerContext context) { this.wrappedContext = context; this.policyMap = context.getEndpoint().getPolicyMap(); }
public ServerMUTube(ServerTubeAssemblerContext tubeContext, Tube next) { super(tubeContext.getEndpoint().getBinding(), next); this.tubeContext = tubeContext; //On Server, HandlerConfiguration does n't change after publish, so store locally HandlerConfiguration handlerConfig = binding.getHandlerConfig(); roles = handlerConfig.getRoles(); handlerKnownHeaders = binding.getKnownHeaders(); }
public ServerMUTube(ServerTubeAssemblerContext tubeContext, Tube next) { super(tubeContext.getEndpoint().getBinding(), next); this.tubeContext = tubeContext; //On Server, HandlerConfiguration does n't change after publish, so store locally HandlerConfiguration handlerConfig = binding.getHandlerConfig(); roles = handlerConfig.getRoles(); handlerKnownHeaders = binding.getKnownHeaders(); }
public ServerMUTube(ServerTubeAssemblerContext tubeContext, Tube next) { super(tubeContext.getEndpoint().getBinding(), next); this.tubeContext = tubeContext; //On Server, HandlerConfiguration does n't change after publish, so store locally HandlerConfiguration handlerConfig = binding.getHandlerConfig(); roles = handlerConfig.getRoles(); handlerKnownHeaders = binding.getKnownHeaders(); }
/** * Do MU Header Processing on incoming message (request) * @return * if all the headers in the packet are understood, returns action such that * next pipe will be inovked. * if all the headers in the packet are not understood, returns action such that * SOAPFault Message is sent to previous pipes. */ @Override public NextAction processRequest(Packet request) { Set<QName> misUnderstoodHeaders=null; lock.lock(); try{ misUnderstoodHeaders = getMisUnderstoodHeaders(request.getMessage().getHeaders(),roles, handlerKnownHeaders); } finally { lock.unlock(); } if((misUnderstoodHeaders == null) || misUnderstoodHeaders.isEmpty()) { return doInvoke(super.next, request); } return doReturnWith(request.createServerResponse(createMUSOAPFaultMessage(misUnderstoodHeaders), tubeContext.getWsdlModel(), tubeContext.getSEIModel(), tubeContext.getEndpoint().getBinding())); }
/** * Do MU Header Processing on incoming message (request) * @return * if all the headers in the packet are understood, returns action such that * next pipe will be inovked. * if all the headers in the packet are not understood, returns action such that * SOAPFault Message is sent to previous pipes. */ @Override public NextAction processRequest(Packet request) { Set<QName> misUnderstoodHeaders=null; lock.lock(); try{ misUnderstoodHeaders = getMisUnderstoodHeaders(request.getMessage().getHeaders(),roles, handlerKnownHeaders); } finally { lock.unlock(); } if((misUnderstoodHeaders == null) || misUnderstoodHeaders.isEmpty()) { return doInvoke(super.next, request); } return doReturnWith(request.createServerResponse(createMUSOAPFaultMessage(misUnderstoodHeaders), tubeContext.getWsdlModel(), tubeContext.getSEIModel(), tubeContext.getEndpoint().getBinding())); }
/** * Do MU Header Processing on incoming message (request) * @return * if all the headers in the packet are understood, returns action such that * next pipe will be inovked. * if all the headers in the packet are not understood, returns action such that * SOAPFault Message is sent to previous pipes. */ @Override public NextAction processRequest(Packet request) { Set<QName> misUnderstoodHeaders=null; lock.lock(); try{ misUnderstoodHeaders = getMisUnderstoodHeaders(request.getMessage().getHeaders(),roles, handlerKnownHeaders); } finally { lock.unlock(); } if((misUnderstoodHeaders == null) || misUnderstoodHeaders.isEmpty()) { return doInvoke(super.next, request); } return doReturnWith(request.createServerResponse(createMUSOAPFaultMessage(misUnderstoodHeaders), tubeContext.getWsdlModel(), tubeContext.getSEIModel(), tubeContext.getEndpoint().getBinding())); }
@NotNull public Tube createServer(@NotNull ServerTubeAssemblerContext jaxwsContext) { if (LOGGER.isLoggable(Level.FINER)) { LOGGER.finer("Assembling endpoint tubeline for WS endpoint: " + jaxwsContext.getEndpoint().getServiceName() + "::" + jaxwsContext.getEndpoint().getPortName());
@NotNull public Tube createServer(@NotNull ServerTubeAssemblerContext jaxwsContext) { if (LOGGER.isLoggable(Level.FINER)) { LOGGER.finer("Assembling endpoint tubeline for WS endpoint: " + jaxwsContext.getEndpoint().getServiceName() + "::" + jaxwsContext.getEndpoint().getPortName());
@NotNull public Tube createServer(@NotNull ServerTubeAssemblerContext jaxwsContext) { if (LOGGER.isLoggable(Level.FINER)) { LOGGER.finer("Assembling endpoint tubeline for WS endpoint: " + jaxwsContext.getEndpoint().getServiceName() + "::" + jaxwsContext.getEndpoint().getPortName());