com.sun.xml.ws.transport.tcp.client
Class TCPClientTransport

java.lang.Object
  extended by com.oracle.webservices.api.message.BasePropertySet
      extended by com.oracle.webservices.api.message.BaseDistributedPropertySet
          extended by com.sun.xml.ws.api.DistributedPropertySet
              extended by 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
TCPClientTransport()
           
TCPClientTransport(ChannelContext channelContext)
           
 
Method Summary
 void close()
           
 ChannelContext getConnectionContext()
           
 String getContentType()
           
 WSTCPError getError()
           
 BasePropertySet.PropertyMap getPropertyMap()
          Map representing the Fields and Methods annotated with PropertySet.Property.
 SOAPMessage getSOAPMessage()
           
 int getStatus()
           
 InputStream openInputStream()
           
 OutputStream openOutputStream()
           
 void send()
           
 void setContentType(String contentType)
           
 void setSOAPMessage(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 with PropertySet.Property. Model of PropertySet 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 class BasePropertySet

getSOAPMessage

public SOAPMessage getSOAPMessage()
                           throws SOAPException
Throws:
SOAPException

setSOAPMessage

public void setSOAPMessage(SOAPMessage soap)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.