FileDocCategorySizeDatePackage
OpenChannelResponse.javaAPI DocExample5601Tue May 29 16:57:14 BST 2007com.sun.xml.ws.transport.tcp.servicechannel.stubs

OpenChannelResponse

public class OpenChannelResponse extends Object

Java class for openChannelResponse complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="openChannelResponse">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="return" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="negotiatedMimeTypes" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
<element name="negotiatedParams" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>

Fields Summary
protected int
channelId
protected List
negotiatedMimeTypes
protected List
negotiatedParams
Constructors Summary
Methods Summary
public intgetChannelId()
Gets the value of the return property.

        return channelId;
    
public java.util.ListgetNegotiatedMimeTypes()
Gets the value of the negotiatedMimeTypes property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the negotiatedMimeTypes property.

For example, to add a new item, do as follows:

getNegotiatedMimeTypes().add(newItem);

Objects of the following type(s) are allowed in the list {@link String }

        if (negotiatedMimeTypes == null) {
            negotiatedMimeTypes = new ArrayList<String>();
        }
        return this.negotiatedMimeTypes;
    
public java.util.ListgetNegotiatedParams()
Gets the value of the negotiatedParams property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the negotiatedParams property.

For example, to add a new item, do as follows:

getNegotiatedParams().add(newItem);

Objects of the following type(s) are allowed in the list {@link String }

        if (negotiatedParams == null) {
            negotiatedParams = new ArrayList<String>();
        }
        return this.negotiatedParams;
    
public voidsetChannelId(int channelId)
Sets the value of the return property.

        this.channelId = channelId;