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 class
HttpRequest.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getAbsoluteUrl()
String
getBody()
Handler<? super InputStream>
getCallback()
String
getContentType()
Map<String,String>
getCustomHeaders()
String
getMethod()
Map<String,Object>
getRequestParams()
File
getResponseDestinationFile()
Deprecated.String
getUrl()
-
-
-
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()
-
-