Overview | Package | Class | Tree | Deprecated | Index | Help
| Sun Adapter for HTTP API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.stc.connector.otd.httpserveradapter.webservice
Class WebHeaderList

    java.lang.Object
      com.stc.connector.otd.httpserveradapter.webservice.WebHeaderList

All Implemented Interfaces:
  com.stc.connector.persistence.bpel.PersistableData

    public class WebHeaderList

extends java.lang.Object
implements com.stc.connector.persistence.bpel.PersistableData

Constructor Summary
`WebHeaderList()` Creates a new instance of WebHeaderList

Method Summary
`int` | `countWebHeaderList()` Gets the count of headers in the list.
`WebNameValues[]` | `getWebHeaderList()` Gets WebHeaderList.
`WebNameValues` | `getWebHeaderList(int i)` Gets a WebHeader at a specified index.
`void` | `persist(com.stc.connector.persistence.bpel.DataOutput dos)` Persists (serialize) this message.
`void` | `restore(com.stc.connector.persistence.bpel.DataInput dis)` Restore (deserialize) this message.
`void` | `setWebHeaderList(int i, WebNameValues header)` Sets a WebHeader at a specified index.
`void` | `setWebHeaderList(WebNameValues[] hdrs)` Sets WebHeaderList.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### WebHeaderList

    public WebHeaderList()

  Creates a new instance of WebHeaderList

Method Detail

### setWebHeaderList

    public void setWebHeaderList(WebNameValues[] hdrs)

  Sets WebHeaderList.

  Parameters:
    `hdrs` - The HTTP header list

### getWebHeaderList

    public WebNameValues[] getWebHeaderList()

  Gets WebHeaderList.

  Returns:
    The header list.

### getWebHeaderList

    public WebNameValues getWebHeaderList(int i)

  Gets a WebHeader at a specified index.

  Parameters:
    `i` - Index of the header to get.
  Returns:
    The header at the specificed index i.

### setWebHeaderList

    public void setWebHeaderList(int i,
                                 WebNameValues header)

  Sets a WebHeader at a specified index.

  Parameters:
    `i` - Index to set.
    `header` - The HTTP header

### countWebHeaderList

    public int countWebHeaderList()

  Gets the count of headers in the list.

  Returns:
    The count of HTTP headers.

### persist

    public void persist(com.stc.connector.persistence.bpel.DataOutput dos)
                 throws java.lang.Exception

  Persists (serialize) this message.

  Specified by:
    `persist` in interface `com.stc.connector.persistence.bpel.PersistableData`
  Parameters:
    `dos` - The DataOutputStream to which the Java Bean message is persisted.
  Throws:
    `java.lang.Exception` - upon error.

### restore

    public void restore(com.stc.connector.persistence.bpel.DataInput dis)
                 throws java.lang.Exception

  Restore (deserialize) this message.

  Specified by:
    `restore` in interface `com.stc.connector.persistence.bpel.PersistableData`
  Parameters:
    `dis` - The DataInputStream from which the Java Bean message is restored.
  Throws:
    `java.lang.Exception` - upon error.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Sun Adapter for HTTP API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.