Class HttpRequest

java.lang.Object
es.situm.sdk.communication.HttpRequest

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

    • getUrl

      @NonNull public String getUrl()
    • getAbsoluteUrl

      @NonNull public String getAbsoluteUrl()
    • getMethod

      @NonNull public String getMethod()
    • getBody

      @Nullable public String getBody()
    • getContentType

      @NonNull public String getContentType()
    • getRequestParams

      @NonNull public Map<String,Object> getRequestParams()
    • getCustomHeaders

      @NonNull public Map<String,String> getCustomHeaders()
    • getResponseDestinationFile

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

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