public abstract class VertgoHandler extends Object implements com.amazonaws.services.lambda.runtime.RequestHandler<Map<String,Object>,Map<String,Object>>
| Modifier and Type | Field and Description |
|---|---|
protected io.vertx.core.Vertx |
vertxInstance |
| Constructor and Description |
|---|
VertgoHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,String> |
addHeaders() |
Map<String,Object> |
handleRequest(Map<String,Object> income,
com.amazonaws.services.lambda.runtime.Context context)
Handle lambda request calling a Controller based in adress method
|
protected abstract List<Controller> |
router() |
int |
timeout()
Override this method to set an application timeout
|
LambdaResponse<? extends Object> |
unrecognizedPropertyError(String path,
String message)
This method return default error response for json with unrecognized property
Override this method to set a default error response for unrecognized property
|
public Map<String,Object> handleRequest(Map<String,Object> income, com.amazonaws.services.lambda.runtime.Context context)
public LambdaResponse<? extends Object> unrecognizedPropertyError(String path, String message)
path - message - protected abstract List<Controller> router()
public int timeout()
Copyright © 2012–2019 jcabi.com. All rights reserved.