Skip navigation links

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

E20955-01


waggle.core.http
Class XHTTPPart

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


public final class XHTTPPart
extends Object

HTTP Part to be sent.


Constructor Summary
XHTTPPart(String name, String part)
          Construct an HTTP Part.
XHTTPPart(String name, XAPIInputStream part)
          Construct an HTTP Part.

 

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

 

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

 

Constructor Detail

XHTTPPart

public XHTTPPart(String name,
                 String part)
Construct an HTTP Part.
Parameters:
name - The part name.
part - The part.

XHTTPPart

public XHTTPPart(String name,
                 XAPIInputStream part)
Construct an HTTP Part.
Parameters:
name - The part name.
part - The part.

Method Detail

getName

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

getValue

public Object getValue()
Get the value.
Returns:
The 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.