public class ClientTubeAssemblerContext extends Object
Tube
implementations
that the TubelineAssembler
needs to use
to satisfy JAX-WS requirements.Constructor and Description |
---|
ClientTubeAssemblerContext(EndpointAddress address,
WSDLPort wsdlModel,
WSBindingProvider bindingProvider,
WSBinding binding,
Container container,
Codec codec,
SEIModel seiModel,
Class sei)
This constructor should be used only by JAX-WS Runtime and is not meant for external consumption.
|
ClientTubeAssemblerContext(EndpointAddress address,
WSDLPort wsdlModel,
WSService rootOwner,
WSBinding binding)
|
ClientTubeAssemblerContext(EndpointAddress address,
WSDLPort wsdlModel,
WSService rootOwner,
WSBinding binding,
Container container)
|
ClientTubeAssemblerContext(EndpointAddress address,
WSDLPort wsdlModel,
WSService rootOwner,
WSBinding binding,
Container container,
Codec codec)
|
ClientTubeAssemblerContext(EndpointAddress address,
WSDLPort wsdlModel,
WSService rootOwner,
WSBinding binding,
Container container,
Codec codec,
SEIModel seiModel,
Class sei)
|
Modifier and Type | Method and Description |
---|---|
Tube |
createClientMUTube(Tube next)
Creates a
Tube that performs SOAP mustUnderstand processing. |
Tube |
createDumpTube(String name,
PrintStream out,
Tube next)
creates a
Tube that dumps messages that pass through. |
Tube |
createHandlerTube(Tube next)
Creates a
Tube that invokes protocol and logical handlers. |
Tube |
createSecurityTube(Tube next)
Creates a
Tube that adds container specific security |
Tube |
createTransportTube()
Creates a transport pipe (for client), which becomes the terminal pipe.
|
Tube |
createValidationTube(Tube next)
creates a
Tube that validates messages against schema |
Tube |
createWsaTube(Tube next)
Creates a
Tube that invokes protocol and logical handlers. |
EndpointAddress |
getAddress()
The endpoint address.
|
WSBinding |
getBinding()
The binding of the new pipeline to be created.
|
WSBindingProvider |
getBindingProvider()
The pipeline is created for this
WSBindingProvider . |
Codec |
getCodec()
Gets the
Codec that is set by setCodec(com.sun.xml.ws.api.pipe.Codec) or the default codec
based on the binding. |
Container |
getContainer()
Returns the Container in which the client is running
|
WSPortInfo |
getPortInfo()
The pipeline is created for this
WSPortInfo . |
Class |
getSEI()
The SEI class for the endpoint
|
SEIModel |
getSEIModel()
The created pipeline will use seiModel to get java concepts for the endpoint
|
WSService |
getService()
The pipeline is created for this
WSService . |
WSDLPort |
getWsdlModel()
The created pipeline will be used to serve this port.
|
void |
setCodec(Codec codec)
|
public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding)
ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class)
public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, @NotNull Container container)
ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class)
public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, @NotNull Container container, Codec codec)
ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class)
public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, @NotNull Container container, Codec codec, SEIModel seiModel, Class sei)
ClientTubeAssemblerContext(EndpointAddress, WSDLPort, WSService, WSBindingProvider, WSBinding, Container, Codec, SEIModel, Class)
public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSBindingProvider bindingProvider, @NotNull WSBinding binding, @NotNull Container container, Codec codec, SEIModel seiModel, Class sei)
@NotNull public EndpointAddress getAddress()
WSDLPort
(even though there's WSDLPort.getAddress()
)
because sometimes WSDL is not available.@Nullable public WSDLPort getWsdlModel()
@NotNull public WSService getService()
@Nullable public WSPortInfo getPortInfo()
WSPortInfo
.
Nullable incase of backwards compatible usages of this class.@Nullable public WSBindingProvider getBindingProvider()
WSBindingProvider
.
Nullable incase of backwards compatible usages of this class.@NotNull public WSBinding getBinding()
@Nullable public SEIModel getSEIModel()
@Nullable public Class getSEI()
public Container getContainer()
public Tube createDumpTube(String name, PrintStream out, Tube next)
Tube
that dumps messages that pass through.@NotNull public Tube createSecurityTube(@NotNull Tube next)
Tube
that adds container specific securitypublic Tube createWsaTube(Tube next)
Tube
that invokes protocol and logical handlers.public Tube createHandlerTube(Tube next)
Tube
that invokes protocol and logical handlers.public Tube createClientMUTube(Tube next)
Tube
that performs SOAP mustUnderstand processing.
This pipe should be before HandlerPipes.public Tube createValidationTube(Tube next)
Tube
that validates messages against schemapublic Tube createTransportTube()
@NotNull public Codec getCodec()
Codec
that is set by setCodec(com.sun.xml.ws.api.pipe.Codec)
or the default codec
based on the binding.public void setCodec(@NotNull Codec codec)
Codec
during Tube
line assembly. The
new codec will be used by jax-ws client runtime for encoding/decoding web service
request/response messages. The new codec should be used by the transport tubes.
the codec should correctly implement Codec.copy()
since it is used while
serving requests concurrently.
codec
- codec to be used for web service requestsCopyright © 2015 Oracle Corporation. All rights reserved.