NOISIF Platform
Toggle table of contents
80ccce4
java
Target filter
java
Switch theme
Search in API
Skip to content
NOISIF Platform
NSL HTTP
/
xyz.noisif.nsl.http
/
HttpServer
Http
Server
abstract
class
HttpServer
:
IdempotentService
Inheritors
JettyHttpServer
Members
Constructors
Http
Server
Link copied to clipboard
protected
constructor
(
builder
:
HttpServer.AbstractBuilder
<
out
Any
>
)
Types
Abstract
Builder
Link copied to clipboard
protected
abstract
class
AbstractBuilder
<
B
:
HttpServer.AbstractBuilder
<
B
>
?
>
Properties
bindings
Link copied to clipboard
protected
val
bindings
:
Map
<
ConnectionAcceptor
,
HttpAcceptorBinding
>
component
Provider
Link copied to clipboard
protected
val
componentProvider
:
ComponentProvider
exception
Handlers
Link copied to clipboard
protected
val
exceptionHandlers
:
Set
<
ExceptionHandler
>
filters
Link copied to clipboard
protected
val
filters
:
List
<
HttpFilter
>
initialized
Link copied to clipboard
private
val
initialized
:
AtomicBoolean
log
Link copied to clipboard
protected
val
log
:
Logger
resolvers
Link copied to clipboard
protected
val
resolvers
:
Set
<
ArgumentResolver
>
running
Link copied to clipboard
private
val
running
:
AtomicBoolean
writers
Link copied to clipboard
protected
val
writers
:
Set
<
ResponseWriter
>
Functions
close
Link copied to clipboard
fun
close
(
)
get
Local
Port
Link copied to clipboard
open
fun
getLocalPort
(
)
:
Int
abstract
fun
getLocalPort
(
acceptor
:
ConnectionAcceptor
)
:
Int
init
Writers
Link copied to clipboard
private
open
fun
initWriters
(
registry
:
SerializerRegistry
<
MessageSerializer
>
)
:
Set
<
ResponseWriter
>
on
Start
Link copied to clipboard
protected
abstract
fun
onStart
(
)
on
Stop
Link copied to clipboard
protected
abstract
fun
onStop
(
)
prepare
Request
Handler
Link copied to clipboard
protected
open
fun
prepareRequestHandler
(
)
:
Map
<
ConnectionAcceptor
,
HttpRequestHandler
>
start
Link copied to clipboard
fun
start
(
)
translate
Exception
Link copied to clipboard
protected
open
fun
translateException
(
ex
:
Exception
)
:
RuntimeException