Class 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 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 class java.lang.Object
      • toString

        public java.lang.String toString​(java.lang.String mimeType)