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

## org.jboss.portal.common.http
Class HttpHeader

    java.lang.Object
      org.jboss.portal.common.http.HttpHeader

All Implemented Interfaces:
  java.io.Serializable

    public class HttpHeader

extends java.lang.Object
implements java.io.Serializable

Modelize an http header structure.

Version:
  $Revision: 7228 $
Author:
  Julien Viet
See Also:
  Serialized Form

Nested Class Summary
`static class` | `HttpHeader.Element` An element of an header

Constructor Summary
`HttpHeader(java.lang.String name)`

Method Summary
`HttpHeader.Element` | `addElement(HttpHeader.Element element)`
`HttpHeader.Element` | `addElement(java.lang.String name)`
`HttpHeader.Element` | `addElement(java.lang.String name, java.lang.String value)`
`java.util.Iterator` | `elements()`
`HttpHeader.Element` | `getElement()`
`java.lang.String` | `getName()`
`java.lang.String` | `getValue()`
`java.lang.String` | `toString()`

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

Constructor Detail

### HttpHeader

    public HttpHeader(java.lang.String name)

Method Detail

### getName

    public java.lang.String getName()

### addElement

    public HttpHeader.Element addElement(java.lang.String name)

### addElement

    public HttpHeader.Element addElement(java.lang.String name,
                                         java.lang.String value)

### addElement

    public HttpHeader.Element addElement(HttpHeader.Element element)

### getElement

    public HttpHeader.Element getElement()

### elements

    public java.util.Iterator elements()

### getValue

    public java.lang.String getValue()

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

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