/** * Gets the {@link Codec} that is set by {@link #setCodec} or the default codec * based on the binding. * * @return codec to be used for web service requests */ public @NotNull Codec getCodec() { return wrappedContext.getCodec(); }
/** * Gets the {@link Codec} that is set by {@link #setCodec} or the default codec * based on the binding. * * @return codec to be used for web service requests */ public @NotNull Codec getCodec() { return wrappedContext.getCodec(); }
/** * Gets the {@link Codec} that is set by {@link #setCodec} or the default codec * based on the binding. * * @return codec to be used for web service requests */ public @NotNull Codec getCodec() { return wrappedContext.getCodec(); }
protected Tube createHttpTransport(ClientTubeAssemblerContext context) { return new HttpTransportPipe(context.getCodec(), context.getBinding()); }
protected Tube createHttpTransport(ClientTubeAssemblerContext context) { return new HttpTransportPipe(context.getCodec(), context.getBinding()); }
protected Tube createHttpTransport(ClientTubeAssemblerContext context) { return new HttpTransportPipe(context.getCodec(), context.getBinding()); }
@Override public Tube doCreate(ClientTubeAssemblerContext context) { if (context.getAddress().getURI().getScheme().equalsIgnoreCase("jms")) { return wsJmsTransportFactory.createJmsTransportTube(context.getCodec(), context.getService().getServiceName()); } return null; }
context.getAddress(), context.getWsdlModel(), context.getService(), context.getBinding(), context.getContainer()); ctxt.setCodec(context.getCodec()); for (TransportPipeFactory factory : ServiceFinder.find(TransportPipeFactory.class,classLoader)) { Pipe pipe = factory.doCreate(ctxt);
context.getAddress(), context.getWsdlModel(), context.getService(), context.getBinding(), context.getContainer()); ctxt.setCodec(context.getCodec()); for (TransportPipeFactory factory : ServiceFinder.find(TransportPipeFactory.class,classLoader)) { Pipe pipe = factory.doCreate(ctxt);
context.getAddress(), context.getWsdlModel(), context.getService(), context.getBinding(), context.getContainer()); ctxt.setCodec(context.getCodec()); for (TransportPipeFactory factory : ServiceFinder.find(TransportPipeFactory.class,classLoader)) { Pipe pipe = factory.doCreate(ctxt);
public NextAction processRequest(@NotNull Packet request) { if(request.endpointAddress==address) // cache hit return transport.processRequest(request); // cache miss if(transport!=null) { // delete the current entry transport.preDestroy(); transport = null; address = null; } // otherwise find out what transport will process this. ClientTubeAssemblerContext newContext = new ClientTubeAssemblerContext( request.endpointAddress, context.getWsdlModel(), context.getBindingProvider(), context.getBinding(), context.getContainer(), context.getCodec().copy(), context.getSEIModel(), context.getSEI() ); address = request.endpointAddress; transport = TransportTubeFactory.create(classLoader, newContext); // successful return from the above method indicates a successful pipe creation assert transport!=null; return transport.processRequest(request); }
public NextAction processRequest(@NotNull Packet request) { if(request.endpointAddress==address) // cache hit return transport.processRequest(request); // cache miss if(transport!=null) { // delete the current entry transport.preDestroy(); transport = null; address = null; } // otherwise find out what transport will process this. ClientTubeAssemblerContext newContext = new ClientTubeAssemblerContext( request.endpointAddress, context.getWsdlModel(), context.getBindingProvider(), context.getBinding(), context.getContainer(), context.getCodec().copy(), context.getSEIModel(), context.getSEI() ); address = request.endpointAddress; transport = TransportTubeFactory.create(classLoader, newContext); // successful return from the above method indicates a successful pipe creation assert transport!=null; return transport.processRequest(request); }
public NextAction processRequest(@NotNull Packet request) { if(request.endpointAddress==address) // cache hit return transport.processRequest(request); // cache miss if(transport!=null) { // delete the current entry transport.preDestroy(); transport = null; address = null; } // otherwise find out what transport will process this. ClientTubeAssemblerContext newContext = new ClientTubeAssemblerContext( request.endpointAddress, context.getWsdlModel(), context.getBindingProvider(), context.getBinding(), context.getContainer(), context.getCodec().copy(), context.getSEIModel(), context.getSEI() ); address = request.endpointAddress; transport = TransportTubeFactory.create(classLoader, newContext); // successful return from the above method indicates a successful pipe creation assert transport!=null; return transport.processRequest(request); }