toggle menu
DHIS2 Android SDK
1.11.1
androidJvm
switch theme
search in API
DHIS2 Android SDK
/
org.hisp.dhis.android.core.arch.api
/
RequestBuilder
Request
Builder
class
RequestBuilder
(
baseUrl
:
String
)
Members
Constructors
Request
Builder
Link copied to clipboard
constructor
(
baseUrl
:
String
)
Properties
authorization
Header
Link copied to clipboard
var
authorizationHeader
:
String
?
body
Link copied to clipboard
var
body
:
Any
?
headers
Link copied to clipboard
var
headers
:
MutableList
<
Pair
<
String
,
String
>
>
is
Absolute
Url
Link copied to clipboard
var
isAbsoluteUrl
:
Boolean
is
External
Request
Link copied to clipboard
var
isExternalRequest
:
Boolean
parameters
Link copied to clipboard
var
parameters
:
MutableList
<
Pair
<
String
,
String
>
>
url
Link copied to clipboard
lateinit
var
url
:
String
Functions
absolute
Url
Link copied to clipboard
fun
absoluteUrl
(
url
:
String
,
isExternalRequest
:
Boolean
=
true
)
authorization
Header
Link copied to clipboard
fun
authorizationHeader
(
header
:
String
?
)
body
Link copied to clipboard
fun
body
(
body
:
Any
?
)
exclude
Credentials
Link copied to clipboard
fun
excludeCredentials
(
)
header
Link copied to clipboard
fun
header
(
name
:
String
,
value
:
String
)
parameters
Link copied to clipboard
fun
parameters
(
block
:
ParametersBuilder
.
(
)
->
Unit
)
url
Link copied to clipboard
fun
url
(
url
:
String
)