Search
Preparing search index...
The search index is not available
@easy-node/server - v0.0.8
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
HttpPathParam
Class HttpPathParam<T, K, V>
路径参数解析
Type parameters
T
:
object
K
V
Hierarchy
ObjectedMap
<
T
>
HttpPathParam
Index
Constructors
constructor
Properties
size
Methods
clear
delete
for
Each
get
has
set
stringify
toJSON
toJSONObject
create
toJSON
toJSONObject
Constructors
constructor
new
Http
Path
Param
(
value
:
T
)
:
HttpPathParam
Parameters
value:
T
Returns
HttpPathParam
Properties
Readonly
size
size
:
number
Methods
clear
clear
(
)
:
void
Returns
void
delete
delete
(
key
:
K
)
:
boolean
Parameters
key:
K
Returns
boolean
for
Each
for
Each
(
callbackfn
:
(
value
:
V
, key
:
K
, map
:
Map
<
K
,
V
>
)
=>
void
, thisArg
?:
any
)
:
void
Parameters
callbackfn:
(
value
:
V
, key
:
K
, map
:
Map
<
K
,
V
>
)
=>
void
(
value
:
V
, key
:
K
, map
:
Map
<
K
,
V
>
)
:
void
Parameters
value:
V
key:
K
map:
Map
<
K
,
V
>
Returns
void
Optional
thisArg:
any
Returns
void
get
get<K>
(
key
:
K
)
:
T
[
K
]
Type parameters
K
:
keyof
T
Parameters
key:
K
Returns
T
[
K
]
has
has
(
key
:
K
)
:
boolean
Parameters
key:
K
Returns
boolean
set
set<K, V>
(
key
:
K
, value
:
V
)
:
this
Type parameters
K
:
keyof
T
V
:
T
[
K
]
Parameters
key:
K
value:
V
Returns
this
stringify
stringify
(
space
?:
number
)
:
string
Parameters
Default value
space:
number
= 0
Returns
string
toJSON
toJSON
(
space
?:
number
)
:
string
转为json
Parameters
Default value
space:
number
= 0
Returns
string
toJSONObject
toJSONObject<T>
(
)
:
JSONObject
<
T
>
转换为对象结构
Type parameters
T
:
object
Returns
JSONObject
<
T
>
Static
create
create<T>
(
value
:
T
)
:
HttpPathParam
<
T
>
创建
Type parameters
T
:
object
Parameters
value:
T
Returns
HttpPathParam
<
T
>
Static
toJSON
toJSON<T>
(
httpPathParam
:
HttpPathParam
<
T
>
, space
?:
number
)
:
string
转换为json
Type parameters
T
:
object
Parameters
httpPathParam:
HttpPathParam
<
T
>
Default value
space:
number
= 0
Returns
string
Static
toJSONObject
toJSONObject<T, O>
(
objectedMap
:
O
)
:
JSONObject
<
T
>
Type parameters
T
:
object
O
:
ObjectedMap
<
T
>
Parameters
objectedMap:
O
Returns
JSONObject
<
T
>
Globals
Http
Method
Http
Status
Mime
Types
Directory
Etag
File
File
System
Http
Context
Http
Exception
Http
Path
Param
constructor
size
clear
delete
for
Each
get
has
set
stringify
toJSON
toJSONObject
create
toJSON
toJSONObject
Http
Query
Param
Http
Query
Param
Parse
Option
Http
Query
Param
Stringify
Option
Http
Request
Http
Response
Http
Server
Http
Server
Option
Https
Server
Https
Server
Option
Objected
Map
Route
Route
Collection
Router
Directory
Create
Option
Http
Path
Param
Constructor
JSONObject
Constructor
Parsed
String
Etag
Route
Handler
Route
Option
Default
Decoder
Default
Encoder
JSONObject
Raw
Method
JSONObject
to
Hex
Generated using
TypeDoc
路径参数解析