|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
com.vaadin.server.VaadinServletRequest
com.vaadin.spring.server.SpringVaadinServletRequest
public class SpringVaadinServletRequest
Custom Vaadin servlet request to handle getPathInfo() when the servlet is used via ServletForwardingController which does not set it.
| Field Summary |
|---|
| Fields inherited from interface javax.servlet.http.HttpServletRequest |
|---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
| Constructor Summary | |
|---|---|
SpringVaadinServletRequest(javax.servlet.http.HttpServletRequest request,
com.vaadin.server.VaadinServletService vaadinService,
boolean clearServletPath)
Construct a Spring servlet request |
|
| Method Summary | |
|---|---|
String |
getPathInfo()
|
String |
getServletPath()
|
| Methods inherited from class com.vaadin.server.VaadinServletRequest |
|---|
getHttpServletRequest, getService, getWrappedSession, getWrappedSession |
| Methods inherited from class javax.servlet.http.HttpServletRequestWrapper |
|---|
authenticate, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout |
| Methods inherited from class javax.servlet.ServletRequestWrapper |
|---|
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.vaadin.server.VaadinRequest |
|---|
getAttribute, getAttributeNames, getAuthType, getCharacterEncoding, getContentLength, getContentType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getLocale, getLocales, getMethod, getParameter, getParameterMap, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRemoteUser, getUserPrincipal, isSecure, isUserInRole, removeAttribute, setAttribute |
| Methods inherited from interface javax.servlet.ServletRequest |
|---|
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, 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, startAsync |
| Constructor Detail |
|---|
public SpringVaadinServletRequest(javax.servlet.http.HttpServletRequest request,
com.vaadin.server.VaadinServletService vaadinService,
boolean clearServletPath)
request - vaadinService - clearServletPath - true to use empty string as the servlet path (needed when
using ServletForwardingController for bootstrap page
requests), false to use the normal servlet path - for more
information on this hack, see SpringVaadinServlet| Method Detail |
|---|
public String getServletPath()
getServletPath in interface javax.servlet.http.HttpServletRequestgetServletPath in class javax.servlet.http.HttpServletRequestWrapperpublic String getPathInfo()
getPathInfo in interface com.vaadin.server.VaadinRequestgetPathInfo in interface javax.servlet.http.HttpServletRequestgetPathInfo in class javax.servlet.http.HttpServletRequestWrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||