public class HarPostTextLines
extends java.lang.Object
| Constructor and Description | 
|---|
| HarPostTextLines(long contentLength)Creates a new  HarPostTextLinesobject | 
| HarPostTextLines(long contentLength,
                java.lang.String boundary)Creates a new  HarPostTextLinesobject | 
| HarPostTextLines(java.lang.String s)Creates a HarPostTextLines containing what is inside String s. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addLine(java.lang.String name,
       java.lang.String value)Add a new line | 
| long | getContentLength()Returns the contentLength value. | 
| java.util.List<HarPostTextLine> | getLines()Gets Lines | 
| void | setContentLength(long contentLength)Sets the contentLength value. | 
| java.lang.String | toString() | 
public HarPostTextLines(java.lang.String s)
s - A string corresponding to HAR postData.text with the format
          multipart/form-datapublic HarPostTextLines(long contentLength)
HarPostTextLines objectcontentLength - public HarPostTextLines(long contentLength,
                java.lang.String boundary)
HarPostTextLines objectcontentLength - boundary - public void addLine(java.lang.String name,
           java.lang.String value)
name - Keyvalue - public long getContentLength()
public void setContentLength(long contentLength)
contentLength - The contentLength to set.public java.util.List<HarPostTextLine> getLines()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2011 Emmanuel Cecchet - University of Massachusetts - All Rights Reserved.