Package io.mangoo.routing
Class Attachment
java.lang.Object
io.mangoo.routing.Attachment
- Author:
- svenkubiak
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Attachmentbuild()getBody()Class<?>getFlash()getForm()intgetLimit()intlongbooleanbooleanhasLimit()booleanvoidsetAuthentication(Authentication authentication) voidvoidvoidvoidsetRequest(Request request) voidsetResponse(Response response) voidsetSession(Session session) withAuthentication(boolean authentication) withBasicAuthentication(String username, String password) withClassAnnotations(Collection<Annotation> classAnnotations) withControllerClass(Class<?> controllerClass) withControllerClassName(String controllerClassName) withControllerInstance(Object controllerInstance) withControllerMethodName(String controllerMethodName) withLimit(int limit) withLocale(Locale locale) withMessages(Messages messages) withMethod(Method method) withMethodAnnotations(Collection<Annotation> methodAnnotations) withMethodParameterCount(int methodParametersCount) withMethodParameters(Map<String, Class<?>> methodParameters) withRequestFilter(boolean hasRequestFilter) withRequestParameter(Map<String, String> requestParameter) withTemplateEngine(TemplateEngine templateEngine)
-
Constructor Details
-
Attachment
public Attachment()
-
-
Method Details
-
build
-
getAuthentication
-
getBody
-
getClassAnnotations
-
getControllerAndMethod
-
getControllerClass
-
getControllerClassName
-
getControllerInstance
-
getControllerMethodName
-
getFlash
-
getForm
-
getLimit
public int getLimit() -
getLocale
-
getMessages
-
getMethod
-
getMethodAnnotations
-
getMethodParameters
-
getMethodParametersCount
public int getMethodParametersCount() -
getPassword
-
getRequest
-
getRequestParameter
-
getResponse
-
getResponseTime
public long getResponseTime() -
getSession
-
getTemplateEngine
-
getUsername
-
hasAuthentication
public boolean hasAuthentication() -
hasLimit
public boolean hasLimit() -
hasRequestFilter
public boolean hasRequestFilter() -
setAuthentication
-
setBody
-
setFlash
-
setForm
-
setRequest
-
setResponse
-
setSession
-
withClassAnnotations
-
withControllerClass
-
withControllerClassName
-
withControllerInstance
-
withControllerMethodName
-
withLimit
-
withLocale
-
withMessages
-
withMethod
-
withMethodAnnotations
-
withMethodParameterCount
-
withMethodParameters
-
withBasicAuthentication
-
withRequestFilter
-
withRequestParameter
-
withTemplateEngine
-
withAuthentication
-