NOISIF Platform
Toggle table of contents
80ccce4
java
Target filter
java
Switch theme
Search in API
Skip to content
NOISIF Platform
NSL UI
/
xyz.noisif.nsl.ui.http
/
HttpRequest
/
Builder
Builder
class
Builder
Members
Constructors
Builder
Link copied to clipboard
constructor
(
method
:
HttpMethod
,
url
:
String
)
Properties
body
Link copied to clipboard
private
open
var
body
:
JsonPayload
headers
Link copied to clipboard
private
val
headers
:
Map
<
String
,
String
>
include
Credentials
Link copied to clipboard
private
open
var
includeCredentials
:
Boolean
method
Link copied to clipboard
private
val
method
:
HttpMethod
timeout
Ms
Link copied to clipboard
private
open
var
timeoutMs
:
Int
url
Link copied to clipboard
private
val
url
:
String
Functions
build
Link copied to clipboard
open
fun
build
(
)
:
HttpRequest
header
Link copied to clipboard
open
fun
header
(
name
:
String
,
value
:
String
)
:
HttpRequest.Builder
json
Body
Link copied to clipboard
open
fun
jsonBody
(
payload
:
JsonPayload
)
:
HttpRequest.Builder
timeout
Link copied to clipboard
open
fun
timeout
(
ms
:
Int
)
:
HttpRequest.Builder
with
Credentials
Link copied to clipboard
open
fun
withCredentials
(
include
:
Boolean
)
:
HttpRequest.Builder