Class HttpRequest


  • public class HttpRequest
    extends java.lang.Object
    Custom HTTP request to use with HttpRequestExecutor. It's only used for advanced and experimental functionality.
    See Also:
    HttpRequestExecutor
    • Method Detail

      • getUrl

        @NonNull
        public java.lang.String getUrl()
      • getAbsoluteUrl

        @NonNull
        public java.lang.String getAbsoluteUrl()
      • getMethod

        @NonNull
        public java.lang.String getMethod()
      • getBody

        @Nullable
        public java.lang.String getBody()
      • getContentType

        @NonNull
        public java.lang.String getContentType()
      • getRequestParams

        @NonNull
        public java.util.Map<java.lang.String,​java.lang.Object> getRequestParams()
      • getCustomHeaders

        @NonNull
        public java.util.Map<java.lang.String,​java.lang.String> getCustomHeaders()
      • getResponseDestinationFile

        @Nullable
        @Deprecated
        public java.io.File getResponseDestinationFile()
        Deprecated.
      • getCallback

        @Nullable
        public Handler<? super java.io.InputStream> getCallback()