PostRequest

class PostRequest<T : Any>(body: T, contentType: ContentType = ContentType.APPLICATION_JSON, additionalHeaders: List<Header> = emptyList(), timeout: Duration = Duration.ofSeconds(60), currentToken: OidcToken? = null) : Request

Constructors

Link copied to clipboard
constructor(body: T, contentType: ContentType = ContentType.APPLICATION_JSON, additionalHeaders: List<Header> = emptyList(), timeout: Duration = Duration.ofSeconds(60), currentToken: OidcToken? = null)

Functions

Link copied to clipboard
open override fun additionalHeaders(): List<Header>
Link copied to clipboard
open override fun body(): Any
Link copied to clipboard
open override fun contentType(): ContentType
Link copied to clipboard
open override fun currentToken(): OidcToken?
Link copied to clipboard
open override fun timeout(): Duration