com.sage.swt.client.ui.communication
Class SwtHttpHeader
java.lang.Object
com.google.gwt.http.client.Header
com.sage.swt.client.ui.communication.SwtHttpHeader
public class SwtHttpHeader
- extends com.google.gwt.http.client.Header
Simple concrete implementation of a Header
object. The name and value
of the header are input via the constructor. The name is guaranteed not to be
a null reference although the value may be.
Constructor Summary |
SwtHttpHeader(java.lang.String name,
java.lang.String value)
Constructs a header object with the given name and value (where the value
may be null). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwtHttpHeader
public SwtHttpHeader(java.lang.String name,
java.lang.String value)
- Constructs a header object with the given name and value (where the value
may be null).
- Parameters:
name
- The header's name. If a null reference is provided
getName()
will return a blank name rather than this
null reference.value
- The header's value (which may be null).
getName
public java.lang.String getName()
-
- Specified by:
getName
in class com.google.gwt.http.client.Header
getValue
public java.lang.String getValue()
-
- Specified by:
getValue
in class com.google.gwt.http.client.Header
Copyright © 2011 Sage Software, Inc. All rights reserved.