public class Attachment extends Object
| Constructor and Description |
|---|
Attachment() |
public static Attachment build()
public Attachment withControllerClass(Class<?> controllerClass)
public Attachment withControllerClassName(String controllerClassName)
public Attachment withControllerMethodName(String controllerMethodName)
public Attachment withControllerInstance(Object controllerInstance)
public Attachment withCrypto(Crypto crypto)
public Attachment withMethodParameters(Map<String,Class<?>> methodParameters)
public Attachment withMessages(Messages messages)
public Attachment withTemplateEngine(TemplateEngine templateEngine)
public Attachment withRequestParameter(Map<String,String> requestParameter)
public Attachment withMethod(Method method)
public Attachment withMethodParameterCount(int methodParametersCount)
public Attachment withRequestFilter(boolean hasRequestFilter)
public Messages getMessages()
public void setForm(Form form)
public void setSession(Session session)
public void setFlash(Flash flash)
public void setAuthentication(Authentication authentication)
public Session getSession()
public Flash getFlash()
public Authentication getAuthentication()
public Crypto getCrypto()
public boolean hasRequestFilter()
public Method getMethod()
public Class<?> getControllerClass()
public Request getRequest()
public Object getControllerInstance()
public TemplateEngine getTemplateEngine()
public Form getForm()
public String getControllerClassName()
public String getControllerMethodName()
public int getMethodParametersCount()
public String getBody()
public void setBody(String body)
public void setRequest(Request request)
public void setResponse(Response response)
public Response getResponse()
public long getResponseTime()
Copyright © 2016. All rights reserved.