public class NotFound extends Result
Constructor and Description |
---|
NotFound(String why) |
NotFound(String method,
String path) |
Modifier and Type | Method and Description |
---|---|
void |
apply(Http.Request request,
Http.Response response) |
getEncoding, setContentTypeIfNotSet
fillInStackTrace
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NotFound(String why)
why
- a description of the problempublic void apply(Http.Request request, Http.Response response)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly