Package io.mangoo.routing
Class Attachment
- java.lang.Object
-
- io.mangoo.routing.Attachment
-
public class Attachment extends Object
- Author:
- svenkubiak
-
-
Constructor Summary
Constructors Constructor Description Attachment()
-
Method Summary
-
-
-
Method Detail
-
build
public static Attachment build()
-
getAuthentication
public Authentication getAuthentication()
-
getBody
public String getBody()
-
getClassAnnotations
public List<Annotation> getClassAnnotations()
-
getControllerAndMethod
public String getControllerAndMethod()
-
getControllerClass
public Class<?> getControllerClass()
-
getControllerClassName
public String getControllerClassName()
-
getControllerInstance
public Object getControllerInstance()
-
getControllerMethodName
public String getControllerMethodName()
-
getFlash
public Flash getFlash()
-
getForm
public Form getForm()
-
getLimit
public int getLimit()
-
getLocale
public Locale getLocale()
-
getMessages
public Messages getMessages()
-
getMethod
public Method getMethod()
-
getMethodAnnotations
public List<Annotation> getMethodAnnotations()
-
getMethodParametersCount
public int getMethodParametersCount()
-
getPassword
public String getPassword()
-
getRequest
public Request getRequest()
-
getResponse
public Response getResponse()
-
getResponseTime
public long getResponseTime()
-
getSession
public Session getSession()
-
getTemplateEngine
public TemplateEngine getTemplateEngine()
-
getUsername
public String getUsername()
-
hasAuthentication
public boolean hasAuthentication()
-
hasBasicAuthentication
public boolean hasBasicAuthentication()
-
hasLimit
public boolean hasLimit()
-
hasRequestFilter
public boolean hasRequestFilter()
-
setAuthentication
public void setAuthentication(Authentication authentication)
-
setBody
public void setBody(String body)
-
setFlash
public void setFlash(Flash flash)
-
setForm
public void setForm(Form form)
-
setRequest
public void setRequest(Request request)
-
setResponse
public void setResponse(Response response)
-
setSession
public void setSession(Session session)
-
withClassAnnotations
public Attachment withClassAnnotations(Collection<Annotation> classAnnotations)
-
withControllerClass
public Attachment withControllerClass(Class<?> controllerClass)
-
withControllerClassName
public Attachment withControllerClassName(String controllerClassName)
-
withControllerInstance
public Attachment withControllerInstance(Object controllerInstance)
-
withControllerMethodName
public Attachment withControllerMethodName(String controllerMethodName)
-
withLimit
public Attachment withLimit(int limit)
-
withLocale
public Attachment withLocale(Locale locale)
-
withMessages
public Attachment withMessages(Messages messages)
-
withMethod
public Attachment withMethod(Method method)
-
withMethodAnnotations
public Attachment withMethodAnnotations(Collection<Annotation> methodAnnotations)
-
withMethodParameterCount
public Attachment withMethodParameterCount(int methodParametersCount)
-
withMethodParameters
public Attachment withMethodParameters(Map<String,Class<?>> methodParameters)
-
withBasicAuthentication
public Attachment withBasicAuthentication(String username, String password)
-
withRequestFilter
public Attachment withRequestFilter(boolean hasRequestFilter)
-
withRequestParameter
public Attachment withRequestParameter(Map<String,String> requestParameter)
-
withTemplateEngine
public Attachment withTemplateEngine(TemplateEngine templateEngine)
-
withAuthentication
public Attachment withAuthentication(boolean authentication)
-
withAuthorization
public Attachment withAuthorization(boolean authorization)
-
hasAuthorization
public boolean hasAuthorization()
-
-