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 void
close()
ChannelContext
getConnectionContext()
String
getContentType()
WSTCPError
getError()
BasePropertySet.PropertyMap
getPropertyMap()
Map representing the Fields and Methods annotated withPropertySet.Property
.jakarta.xml.soap.SOAPMessage
getSOAPMessage()
int
getStatus()
InputStream
openInputStream()
OutputStream
openOutputStream()
void
send()
void
setContentType(String contentType)
void
setSOAPMessage(jakarta.xml.soap.SOAPMessage soap)
void
setStatus(int status)
void
setup(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
-
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:
IOException
WSTCPException
-
openInputStream
@NotNull public InputStream openInputStream() throws IOException, WSTCPException
- Throws:
IOException
WSTCPException
-
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:BasePropertySet
Map representing the Fields and Methods annotated withPropertySet.Property
. Model ofPropertySet
class.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; }
- Specified by:
getPropertyMap
in classBasePropertySet
-
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)
-
-