korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-io
/
korlibs.io.net.http
/
Http
/
Headers
Headers
data
class
Headers
(
val
items
:
List
<
Pair
<
String
,
String
>
>
)
:
Iterable
<
Pair
<
String
,
String
>
>
Members
Members & Extensions
Constructors
Headers
Link copied to clipboard
constructor
(
items
:
List
<
Pair
<
String
,
String
>
>
)
constructor
(
vararg
items
:
Pair
<
String
,
String
>
)
constructor
(
map
:
Map
<
String
,
String
>
)
constructor
(
str
:
String
?
)
Types
Builder
Link copied to clipboard
class
Builder
Companion
Link copied to clipboard
object
Companion
Properties
items
Link copied to clipboard
val
items
:
List
<
Pair
<
String
,
String
>
>
Functions
contains
All
Link copied to clipboard
fun
containsAll
(
other
:
Http.Headers
)
:
Boolean
get
Link copied to clipboard
operator
fun
get
(
key
:
String
)
:
String
?
get
Link copied to clipboard
inline
fun
<
T
>
Iterable
<
Vfs.Attribute
>
.
get
(
)
:
T
?
get
All
Link copied to clipboard
fun
getAll
(
key
:
String
)
:
List
<
String
>
get
First
Link copied to clipboard
fun
getFirst
(
key
:
String
)
:
String
?
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
Pair
<
String
,
String
>
>
plus
Link copied to clipboard
operator
fun
plus
(
that
:
Http.Headers
)
:
Http.Headers
to
Channel
Link copied to clipboard
suspend
fun
<
T
>
Iterable
<
T
>
.
toChannel
(
)
:
ReceiveChannel
<
T
>
to
Http
Header
String
Link copied to clipboard
fun
toHttpHeaderString
(
extraLine
:
Boolean
=
true
)
:
String
to
List
Grouped
Link copied to clipboard
fun
toListGrouped
(
)
:
List
<
Pair
<
String
,
List
<
String
>
>
>
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
with
Appended
Headers
Link copied to clipboard
fun
withAppendedHeaders
(
newHeaders
:
List
<
Pair
<
String
,
String
>
>
)
:
Http.Headers
fun
withAppendedHeaders
(
vararg
newHeaders
:
Pair
<
String
,
String
>
)
:
Http.Headers
with
Replace
Headers
Link copied to clipboard
fun
withReplaceHeaders
(
newHeaders
:
Http.Headers
)
:
Http.Headers
fun
withReplaceHeaders
(
newHeaders
:
List
<
Pair
<
String
,
String
>
>
)
:
Http.Headers
fun
withReplaceHeaders
(
vararg
newHeaders
:
Pair
<
String
,
String
>
)
:
Http.Headers