Package es.situm.sdk.communication
Class HttpRequest
- java.lang.Object
-
- es.situm.sdk.communication.HttpRequest
-
public class HttpRequest extends 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 classHttpRequest.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetAbsoluteUrl()StringgetBody()Handler<? super InputStream>getCallback()StringgetContentType()Map<String,String>getCustomHeaders()StringgetMethod()Map<String,Object>getRequestParams()FilegetResponseDestinationFile()Deprecated.StringgetUrl()
-
-
-
Method Detail
-
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()
-
getResponseDestinationFile
@Nullable @Deprecated public File getResponseDestinationFile()
Deprecated.
-
getCallback
@Nullable public Handler<? super InputStream> getCallback()
-
-