public class RequiresParam extends java.lang.Object implements Take
Fork which checks whether the provided param is passed with the request.
In cases when param is not passed, the route method is throwing HttpException with BAD_REQUEST value to indicate
that some of the params is missing.
| Constructor and Description |
|---|
RequiresParam(java.lang.String param,
Take origin) |
| Modifier and Type | Method and Description |
|---|---|
Response |
ack(Request request) |