Interface MPConnection


  • public interface MPConnection
    • Method Detail

      • isHttps

        boolean isHttps()
      • setRequestMethod

        void setRequestMethod​(java.lang.String method)
                       throws java.net.ProtocolException
        Throws:
        java.net.ProtocolException
      • setDoOutput

        void setDoOutput​(java.lang.Boolean doOutput)
      • setConnectTimeout

        void setConnectTimeout​(java.lang.Integer timeout)
      • setReadTimeout

        void setReadTimeout​(java.lang.Integer readTimeout)
      • setRequestProperty

        void setRequestProperty​(java.lang.String key,
                                java.lang.String value)
      • getRequestMethod

        java.lang.String getRequestMethod()
      • getHeaderField

        java.lang.String getHeaderField​(java.lang.String key)
      • getHeaderFields

        java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaderFields()
      • getOutputStream

        java.io.OutputStream getOutputStream()
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • getInputStream

        java.io.InputStream getInputStream()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • getErrorStream

        java.io.InputStream getErrorStream()
      • getResponseCode

        int getResponseCode()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getResponseMessage

        java.lang.String getResponseMessage()
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • setSSLSocketFactory

        void setSSLSocketFactory​(javax.net.ssl.SSLSocketFactory factory)
      • getSSLSocketFactory

        javax.net.ssl.SSLSocketFactory getSSLSocketFactory()