basic-http
Toggle table of contents
2.0
jvm
Platform filter
jvm
Switch theme
Search in API
basic-http
basic-http
/
core.server.filters
/
AuthenticationHandlerFilter
Authentication
Handler
Filter
class
AuthenticationHandlerFilter
(
method
:
Method
)
:
Filter
,
HttpHandlerExtensions
AuthenticationHandlerFilter Filter to handle authentication
Parameters
method
: Method -> Method of the controller
Members
Constructors
Authentication
Handler
Filter
Link copied to clipboard
constructor
(
method
:
Method
)
Functions
description
Link copied to clipboard
open
override
fun
description
(
)
:
String
do
Filter
Link copied to clipboard
open
override
fun
doFilter
(
exchange
:
HttpExchange
?
,
chain
:
Filter.Chain
?
)
json
To
Object
Link copied to clipboard
open
fun
String
.
jsonToObject
(
typeName
:
String
)
:
Any
parse
To
Link copied to clipboard
open
infix
fun
String
.
parseTo
(
typeForParse
:
String
)
:
Any
?
send
Link copied to clipboard
open
fun
HttpExchange
.
send
(
json
:
Json
<
Any
>
)
to
Json
String
Link copied to clipboard
open
fun
Json
<
Any
>
.
toJsonString
(
)
:
String
to
Map
If
Query
Link copied to clipboard
open
fun
String
.
toMapIfQuery
(
)
:
Map
<
String
,
String
>