wt.util
Class PostEntry

java.lang.Object
  extended bywt.util.PostEntry
All Implemented Interfaces:
Serializable

public class PostEntry
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
private  String content
           
static String DELIM
           
private  String filekey
           
private  Properties headers
           
static String SEP
           
private  int type
           
static int TYPE_DATA
          Indicators for post of data or file path.
static int TYPE_PATH
           
 
Constructor Summary
PostEntry(int type)
           
PostEntry(String fromStringForm)
           
 
Method Summary
 String getContent()
           
 String getFilekey()
           
 String getHeader(String name)
           
 Properties getHeaders()
           
 int getType()
           
 void print(PrintStream out)
           
 void putHeader(String name, String value)
           
 void setContent(String content)
           
 void setFilekey(String key)
           
 void setType(int a_type)
           
 String toStringForm()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_DATA

public static final int TYPE_DATA
Indicators for post of data or file path.

See Also:
Constant Field Values

TYPE_PATH

public static final int TYPE_PATH
See Also:
Constant Field Values

DELIM

public static final String DELIM
See Also:
Constant Field Values

SEP

public static final String SEP
See Also:
Constant Field Values

type

private int type

headers

private Properties headers

content

private String content

filekey

private String filekey
Constructor Detail

PostEntry

public PostEntry(int type)

PostEntry

public PostEntry(String fromStringForm)
Method Detail

setContent

public void setContent(String content)

getContent

public String getContent()

putHeader

public void putHeader(String name,
                      String value)

getHeaders

public Properties getHeaders()

getHeader

public String getHeader(String name)

setFilekey

public void setFilekey(String key)

getFilekey

public String getFilekey()

getType

public int getType()

setType

public void setType(int a_type)

print

public void print(PrintStream out)

toStringForm

public String toStringForm()