public abstract class Result extends FastRuntimeException
Constructor and Description |
---|
Result() |
Result(java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
abstract void |
apply(Http.Request request,
Http.Response response) |
protected java.lang.String |
getEncoding()
The encoding that should be used when writing this response to the client
|
protected void |
setContentTypeIfNotSet(Http.Response response,
java.lang.String contentType) |
fillInStackTrace
public abstract void apply(Http.Request request, Http.Response response)
protected void setContentTypeIfNotSet(Http.Response response, java.lang.String contentType)
protected java.lang.String getEncoding()
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly