Class TCPClientTransport
- java.lang.Object
-
- com.oracle.webservices.api.message.BasePropertySet
-
- com.oracle.webservices.api.message.BaseDistributedPropertySet
-
- com.sun.xml.ws.api.DistributedPropertySet
-
- com.sun.xml.ws.transport.tcp.client.TCPClientTransport
-
- All Implemented Interfaces:
DistributedPropertySet,PropertySet
public class TCPClientTransport extends DistributedPropertySet
- Author:
- Alexey Stashok
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.oracle.webservices.api.message.BasePropertySet
BasePropertySet.Accessor, BasePropertySet.PropertyMap, BasePropertySet.PropertyMapEntry
-
Nested classes/interfaces inherited from interface com.oracle.webservices.api.message.PropertySet
PropertySet.Property
-
-
Constructor Summary
Constructors Constructor Description TCPClientTransport()TCPClientTransport(ChannelContext channelContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ChannelContextgetConnectionContext()StringgetContentType()WSTCPErrorgetError()BasePropertySet.PropertyMapgetPropertyMap()Map representing the Fields and Methods annotated withPropertySet.Property.jakarta.xml.soap.SOAPMessagegetSOAPMessage()intgetStatus()InputStreamopenInputStream()OutputStreamopenOutputStream()voidsend()voidsetContentType(String contentType)voidsetSOAPMessage(jakarta.xml.soap.SOAPMessage soap)voidsetStatus(int status)voidsetup(ChannelContext channelContext)-
Methods inherited from class com.sun.xml.ws.api.DistributedPropertySet
addSatellite, addSatellite, copySatelliteInto, removeSatellite
-
Methods inherited from class com.oracle.webservices.api.message.BaseDistributedPropertySet
addSatellite, addSatellite, asMapLocal, containsKey, copySatelliteInto, copySatelliteInto, createEntrySet, createView, get, getSatellite, getSatellites, put, remove, removeSatellite, supports, supportsLocal
-
Methods inherited from class com.oracle.webservices.api.message.BasePropertySet
asMap, createMapView, mapAllowsAdditionalProperties, parse, parse
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.webservices.api.message.PropertySet
asMap, createMapView
-
-
-
-
Constructor Detail
-
TCPClientTransport
public TCPClientTransport()
-
TCPClientTransport
public TCPClientTransport(@NotNull ChannelContext channelContext)
-
-
Method Detail
-
setup
public void setup(@Nullable ChannelContext channelContext)
-
getStatus
public int getStatus()
-
setStatus
public void setStatus(int status)
-
openOutputStream
@NotNull public OutputStream openOutputStream() throws IOException, WSTCPException
- Throws:
IOExceptionWSTCPException
-
openInputStream
@NotNull public InputStream openInputStream() throws IOException, WSTCPException
- Throws:
IOExceptionWSTCPException
-
send
public void send() throws IOException- Throws:
IOException
-
close
public void close()
-
setContentType
public void setContentType(@NotNull String contentType)
-
getContentType
@Nullable public String getContentType()
-
getError
@Nullable public WSTCPError getError()
-
getConnectionContext
public ChannelContext getConnectionContext()
-
getPropertyMap
public BasePropertySet.PropertyMap getPropertyMap()
Description copied from class:BasePropertySetMap representing the Fields and Methods annotated withPropertySet.Property. Model ofPropertySetclass.At the end of the derivation chain this method just needs to be implemented as:
private static final PropertyMap model; static { model = parse(MyDerivedClass.class); } protected PropertyMap getPropertyMap() { return model; }or if the implementation is in different Java module.private static final PropertyMap model; static { model = parse(MyDerivedClass.class, MethodHandles.lookup()); } protected PropertyMap getPropertyMap() { return model; }- Specified by:
getPropertyMapin classBasePropertySet- Returns:
- the map of strongly-typed known properties keyed by property names
-
getSOAPMessage
public jakarta.xml.soap.SOAPMessage getSOAPMessage() throws jakarta.xml.soap.SOAPException- Throws:
jakarta.xml.soap.SOAPException
-
setSOAPMessage
public void setSOAPMessage(jakarta.xml.soap.SOAPMessage soap)
-
-