Package es.situm.sdk.communication
Class HttpRequest
- java.lang.Object
-
- es.situm.sdk.communication.HttpRequest
-
public class HttpRequest extends java.lang.Object
Custom HTTP request to use withHttpRequestExecutor
. It's only used for advanced and experimental functionality.- See Also:
HttpRequestExecutor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HttpRequest.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getAbsoluteUrl()
java.lang.String
getBody()
Handler<? super java.io.InputStream>
getCallback()
java.lang.String
getContentType()
java.util.Map<java.lang.String,java.lang.String>
getCustomHeaders()
java.lang.String
getMethod()
java.util.Map<java.lang.String,java.lang.Object>
getRequestParams()
java.io.File
getResponseDestinationFile()
Deprecated.java.lang.String
getUrl()
-
-
-
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()
-
-