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