Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


waggle.core.http
Class XHTTPHeader

java.lang.Object
  extended by waggle.core.http.XHTTPHeader


public final class XHTTPHeader
extends Object

HTTP Header.


Constructor Summary
XHTTPHeader(String name, int value)
          Construct an HTTP Header.
XHTTPHeader(String name, String value)
          Construct an HTTP Header.

 

Method Summary
 String getName()
          Get the header name.
 String getValue()
          Get the header value.

 

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

 

Constructor Detail

XHTTPHeader

public XHTTPHeader(String name,
                   String value)
Construct an HTTP Header.
Parameters:
name - The name.
value - The value.

XHTTPHeader

public XHTTPHeader(String name,
                   int value)
Construct an HTTP Header.
Parameters:
name - The name.
value - The value.

Method Detail

getName

public String getName()
Get the header name.
Returns:
The header name.

getValue

public String getValue()
Get the header value.
Returns:
The header value.

Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.