Package org.cef.network
Class CefPostData
- java.lang.Object
-
- org.cef.network.CefPostData
-
public abstract class CefPostData extends java.lang.Object
Class used to represent post data for a web request. The methods of this class may be called on any thread.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
addElement(CefPostDataElement element)
Add the specified post data element.static CefPostData
create()
Create a new CefPostData object.abstract void
dispose()
Removes the native reference from an unused object.protected void
finalize()
abstract int
getElementCount()
Returns the number of existing post data elements.abstract void
getElements(java.util.Vector<CefPostDataElement> elements)
Retrieve the post data elements.abstract boolean
isReadOnly()
Returns true if this object is read-only.abstract boolean
removeElement(CefPostDataElement element)
Remove the specified post data element.abstract void
removeElements()
Remove all existing post data elements.java.lang.String
toString()
java.lang.String
toString(java.lang.String mimeType)
-
-
-
Method Detail
-
finalize
protected void finalize() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
create
public static final CefPostData create()
Create a new CefPostData object.
-
dispose
public abstract void dispose()
Removes the native reference from an unused object.
-
isReadOnly
public abstract boolean isReadOnly()
Returns true if this object is read-only.
-
getElementCount
public abstract int getElementCount()
Returns the number of existing post data elements.
-
getElements
public abstract void getElements(java.util.Vector<CefPostDataElement> elements)
Retrieve the post data elements.
-
removeElement
public abstract boolean removeElement(CefPostDataElement element)
Remove the specified post data element. Returns true if the removal succeeds.
-
addElement
public abstract boolean addElement(CefPostDataElement element)
Add the specified post data element. Returns true if the add succeeds.
-
removeElements
public abstract void removeElements()
Remove all existing post data elements.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toString
public java.lang.String toString(java.lang.String mimeType)
-
-