# Cheatsheets

## ServiceRequest

Data object that encapsulates all informations about an HTTP Request

Name | Type | Description
`@extra` | `Json object` | Get extra payload
`@params` | `Json object` | Get request parsedParameters as JSON
`@user` | `Json object` | Get request principal user as routingContext.user().principal(), null if no user is authenticated

## ServiceResponse

Data object that encapsulates all informations about an HTTP Response

Name | Type | Description
`@payload` | `Buffer` | -
`@statusCode` | `Number (Integer)` | -
`@statusMessage` | `String` | -