class DefaultServerTubelineAssemblyContext extends TubelineAssemblyContextImpl implements ServerTubelineAssemblyContext
ServerTubeAssemblerContext
with additional featuresConstructor and Description |
---|
DefaultServerTubelineAssemblyContext(ServerTubeAssemblerContext context) |
Modifier and Type | Method and Description |
---|---|
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. |
WSEndpoint |
getEndpoint()
The created pipeline is used to serve this
WSEndpoint . |
com.sun.xml.ws.policy.PolicyMap |
getPolicyMap() |
SEIModel |
getSEIModel()
The created pipeline will use seiModel to get java concepts for the endpoint
|
Tube |
getTerminalTube()
The last
Pipe in the pipeline. |
ServerTubeAssemblerContext |
getWrappedContext() |
WSDLPort |
getWsdlPort()
The created pipeline will be used to serve this port.
|
boolean |
isPolicyAvailable() |
boolean |
isSynchronous()
If this server pipeline is known to be used for serving synchronous transport,
then this method returns true.
|
void |
setCodec(Codec codec)
|
getAdaptedTubelineHead, getImplementation, getTubelineHead, setTubelineHead
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdaptedTubelineHead, getImplementation, getTubelineHead
public DefaultServerTubelineAssemblyContext(@NotNull ServerTubeAssemblerContext context)
public com.sun.xml.ws.policy.PolicyMap getPolicyMap()
getPolicyMap
in interface ServerTubelineAssemblyContext
public boolean isPolicyAvailable()
isPolicyAvailable
in interface ServerTubelineAssemblyContext
@Nullable public SEIModel getSEIModel()
getSEIModel
in interface ServerTubelineAssemblyContext
@Nullable public WSDLPort getWsdlPort()
getWsdlPort
in interface ServerTubelineAssemblyContext
@NotNull public WSEndpoint getEndpoint()
WSEndpoint
.
Specifically, its WSBinding
should be of interest to many
Pipe
s.getEndpoint
in interface ServerTubelineAssemblyContext
@NotNull public Tube getTerminalTube()
Pipe
in the pipeline. The assembler is expected to put
additional Pipe
s in front of it.
(Just to give you the idea how this is used, normally the terminal pipe
is the one that invokes the user application or Provider
.)
getTerminalTube
in interface ServerTubelineAssemblyContext
public boolean isSynchronous()
isSynchronous
in interface ServerTubelineAssemblyContext
@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. The codec is a full codec that is responsible for
encoding/decoding entire protocol message(for e.g: it is responsible to
encode/decode entire MIME messages in SOAP binding)getCodec
in interface ServerTubelineAssemblyContext
com.sun.xml.ws.api.pipe.Codecs}
public void setCodec(@NotNull Codec codec)
Codec
during Tube
line assembly. The
new codec will be used by jax-ws server runtime for encoding/decoding web service
request/response messages. WSEndpoint.createCodec()
will return a copy
of this new codec and will be used in the server runtime.
The codec is a full codec that is responsible for encoding/decoding entire protocol message(for e.g: it is responsible to encode/decode entire MIME messages in SOAP binding)
the codec should correctly implement Codec.copy()
since it is used while
serving requests concurrently.
setCodec
in interface ServerTubelineAssemblyContext
codec
- codec to be used for web service requestscom.sun.xml.ws.api.pipe.Codecs}
public ServerTubeAssemblerContext getWrappedContext()
getWrappedContext
in interface ServerTubelineAssemblyContext
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.