public class RequestAccessor
extends javax.servlet.http.HttpServletRequestWrapper
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_FORM_ACTION |
| Constructor and Description |
|---|
RequestAccessor(javax.servlet.http.HttpServletRequest request) |
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getTrailerFields, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgradegetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsyncpublic static final String PARAM_FORM_ACTION
public RequestAccessor(javax.servlet.http.HttpServletRequest request)
public javax.servlet.http.HttpServletRequest getRequest()
getRequest in class javax.servlet.ServletRequestWrapperpublic boolean isGetOrHead()
public boolean isLocal()
public PrefCookie getPrefCookie()
public String getReturnUrl()
public String getFormAction()
public boolean isSaveAction()
public boolean isSaveContinueAction()
public boolean isDeleteAction()
public boolean isDeleteContinue()
public void storeModel(Object model)
public void storePagingModel(PagingModel pagingModel)
public void storeSortBag(SortBag sortBag)
public boolean isPrincipalForCurrentModule()
public boolean hasPrincipal()
public UserPrincipal getUserPrincipal()
getUserPrincipal in interface javax.servlet.http.HttpServletRequestgetUserPrincipal in class javax.servlet.http.HttpServletRequestWrapperpublic UserPrincipal getRequiredPrincipal()
public int getUserIdAsInt()
public boolean isUserInRoles(String... roles)
public ModelState getModelState()
public void addModelError(String message)
public void clearErrors()
public void removeErrors(String... fieldNames)
public boolean isModelValid()
public boolean isFieldValid(String fieldName)
public TempData getTempData()
public Messages getMessages()
public void addInfoMessage(String message)
public void addNoticeMessage(String message)
public void addWarnMessage(String message)
public void addErrorMessage(String message)
public RequestContext getRequestContext()
public ActionDesc getActionDesc()
public com.appslandia.common.base.Language getLanguage()
public com.appslandia.common.base.FormatProvider getFormatProvider()
public Resources getResources()
public void assertBadRequest(boolean expr)
public void assertBadReqNotNull(Object value)
public void assertInRoles(String[] roles)
Copyright © 2019. All rights reserved.