Class OkHttpRequestTask

    • Constructor Detail

      • OkHttpRequestTask

        public OkHttpRequestTask()
    • Method Detail

      • getHeaders

        @Input
        public abstract MapProperty<java.lang.String,​java.lang.String> getHeaders()
      • executeRequest

        public void executeRequest()
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • buildRequest

        public okhttp3.Request.Builder buildRequest​(okhttp3.Request.Builder builder)
      • handleResponse

        public void handleResponse​(okhttp3.Response response)
                            throws java.io.IOException
        Throws:
        java.io.IOException