Search
Preparing search index...
The search index is not available
Cassava
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"routes/BuildableRoute"
BuildableRoute
Class BuildableRoute
Hierarchy
BuildableRoute
Implements
Route
RouteBuilder
Index
Methods
handle
handler
matches
method
path
post
Process
post
Processor
serializers
Methods
handle
handle
(
evt
:
RouterEvent
)
:
Promise
<
RouterResponse
>
|
null
Parameters
evt:
RouterEvent
Returns
Promise
<
RouterResponse
>
|
null
handler
handler
(
handler
:
(
evt
:
RouterEvent
)
=>
Promise
<
RouterResponse
>
)
:
this
Parameters
handler:
(
evt
:
RouterEvent
)
=>
Promise
<
RouterResponse
>
(
evt
:
RouterEvent
)
:
Promise
<
RouterResponse
>
Parameters
evt:
RouterEvent
Returns
Promise
<
RouterResponse
>
Returns
this
matches
matches
(
evt
:
RouterEvent
)
:
boolean
Parameters
evt:
RouterEvent
Returns
boolean
method
method
(
method
:
string
)
:
this
Parameters
method:
string
Returns
this
path
path
(
path
:
string
|
RegExp
)
:
this
Parameters
path:
string
|
RegExp
Returns
this
post
Process
post
Process
(
evt
:
RouterEvent
, resp
:
RouterResponse
, handlingRoutes
:
Route
[]
)
:
Promise
<
RouterResponse
>
|
null
Parameters
evt:
RouterEvent
resp:
RouterResponse
handlingRoutes:
Route
[]
Returns
Promise
<
RouterResponse
>
|
null
post
Processor
post
Processor
(
postProcessor
:
(
evt
:
RouterEvent
, resp
:
RouterResponse
, handlingRoutes
:
Route
[]
)
=>
Promise
<
RouterResponse
>
)
:
this
Parameters
postProcessor:
(
evt
:
RouterEvent
, resp
:
RouterResponse
, handlingRoutes
:
Route
[]
)
=>
Promise
<
RouterResponse
>
(
evt
:
RouterEvent
, resp
:
RouterResponse
, handlingRoutes
:
Route
[]
)
:
Promise
<
RouterResponse
>
Parameters
evt:
RouterEvent
resp:
RouterResponse
handlingRoutes:
Route
[]
Returns
Promise
<
RouterResponse
>
Returns
this
serializers
serializers
(
serializers
:
{}
)
:
this
Parameters
serializers:
{}
[
mimeType:
string
]:
(
body
:
any
)
=>
Promise
<
string
>
|
string
(
body
:
any
)
:
Promise
<
string
>
|
string
Parameters
body:
any
Returns
Promise
<
string
>
|
string
Returns
this
Globals
"
Proxy
Event"
"
Proxy
Response"
"
Rest
Error"
"
Router"
"
Router
Event"
"
Router
Response"
"http
Status"
"index"
"routes/
Buildable
Route"
"routes/
Default
Route"
"routes/
File
System
Route"
"routes/
Logging
Route"
"routes/
Proxy
Route"
"routes/
Route"
"routes/index"
"serializers"
"testing/create
Test
Lambda
Context"
"testing/create
Test
Proxy
Event"
"testing/index"
Buildable
Route
handle
handler
matches
method
path
post
Process
post
Processor
serializers
Route
Builder
Negotiator
Generated using
TypeDoc