All Downloads are FREE. Search and download functionalities are using the official Maven repository.

x-web-api-service.4.0.0.Beta1.source-code.dataobjects.adoc Maven / Gradle / Ivy

There is a newer version: 5.0.0.CR2
Show newest version
= Cheatsheets

[[ServiceRequest]]
== ServiceRequest

++++
 Data object that encapsulates all informations about an HTTP Request
++++
'''

[cols=">25%,25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[extra]]`@extra`|`Json object`|+++
Get extra payload
+++
|[[params]]`@params`|`Json object`|+++
Get request parsedParameters as JSON
+++
|[[user]]`@user`|`Json object`|+++
Get request principal user as routingContext.user().principal(), null if no user is authenticated
+++
|===

[[ServiceResponse]]
== ServiceResponse

++++
 Data object that encapsulates all informations about an HTTP Response
++++
'''

[cols=">25%,25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[payload]]`@payload`|`Buffer`|-
|[[statusCode]]`@statusCode`|`Number (Integer)`|-
|[[statusMessage]]`@statusMessage`|`String`|-
|===





© 2015 - 2025 Weber Informatics LLC | Privacy Policy