Class Protocol.SimplePostData

  • Enclosing interface:
    Protocol

    public static class Protocol.SimplePostData
    extends java.lang.Object
    Represents simple POST data.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      byte[] data
      The request data that will be posted (uploaded) to the server.
      java.util.Map<java.lang.String,​java.lang.String> headerMap
      The MIME header fields, where each key is the field-name (without the terminating ":") and the corresponding value is the field-body-contents.
    • Constructor Summary

      Constructors 
      Constructor Description
      SimplePostData​(byte[] data)
      Instantiates a simple post data object.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • headerMap

        public final java.util.Map<java.lang.String,​java.lang.String> headerMap
        The MIME header fields, where each key is the field-name (without the terminating ":") and the corresponding value is the field-body-contents.
      • data

        public final byte[] data
        The request data that will be posted (uploaded) to the server.
    • Constructor Detail

      • SimplePostData

        public SimplePostData​(byte[] data)
        Instantiates a simple post data object.
        Parameters:
        data - the data to be posted.