public class TestVaadinRequest
extends java.lang.Object
implements com.vaadin.server.VaadinRequest
Constructor and Description |
---|
TestVaadinRequest() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String name) |
java.util.Enumeration<java.lang.String> |
getAttributeNames() |
java.lang.String |
getAuthType() |
java.lang.String |
getCharacterEncoding() |
int |
getContentLength() |
java.lang.String |
getContentType() |
java.lang.String |
getContextPath() |
javax.servlet.http.Cookie[] |
getCookies() |
long |
getDateHeader(java.lang.String name) |
java.lang.String |
getHeader(java.lang.String headerName) |
java.util.Enumeration<java.lang.String> |
getHeaderNames() |
java.util.Enumeration<java.lang.String> |
getHeaders(java.lang.String name) |
java.io.InputStream |
getInputStream() |
java.util.Locale |
getLocale() |
java.util.Enumeration<java.util.Locale> |
getLocales() |
java.lang.String |
getMethod() |
java.lang.String |
getParameter(java.lang.String parameter) |
java.util.Map<java.lang.String,java.lang.String[]> |
getParameterMap() |
java.lang.String |
getPathInfo() |
java.io.BufferedReader |
getReader() |
java.lang.String |
getRemoteAddr() |
java.lang.String |
getRemoteHost() |
int |
getRemotePort() |
java.lang.String |
getRemoteUser() |
com.vaadin.server.VaadinService |
getService() |
java.security.Principal |
getUserPrincipal() |
com.vaadin.server.WrappedSession |
getWrappedSession() |
com.vaadin.server.WrappedSession |
getWrappedSession(boolean allowSessionCreation) |
boolean |
isSecure() |
boolean |
isUserInRole(java.lang.String role) |
void |
removeAttribute(java.lang.String name) |
void |
setAttribute(java.lang.String name,
java.lang.Object value) |
public java.lang.String getParameter(java.lang.String parameter)
getParameter
in interface com.vaadin.server.VaadinRequest
public java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
getParameterMap
in interface com.vaadin.server.VaadinRequest
public int getContentLength()
getContentLength
in interface com.vaadin.server.VaadinRequest
public java.io.InputStream getInputStream()
getInputStream
in interface com.vaadin.server.VaadinRequest
public java.lang.Object getAttribute(java.lang.String name)
getAttribute
in interface com.vaadin.server.VaadinRequest
public void setAttribute(java.lang.String name, java.lang.Object value)
setAttribute
in interface com.vaadin.server.VaadinRequest
public java.lang.String getPathInfo()
getPathInfo
in interface com.vaadin.server.VaadinRequest
public java.lang.String getContextPath()
getContextPath
in interface com.vaadin.server.VaadinRequest
public com.vaadin.server.WrappedSession getWrappedSession()
getWrappedSession
in interface com.vaadin.server.VaadinRequest
public com.vaadin.server.WrappedSession getWrappedSession(boolean allowSessionCreation)
getWrappedSession
in interface com.vaadin.server.VaadinRequest
public java.lang.String getContentType()
getContentType
in interface com.vaadin.server.VaadinRequest
public java.util.Locale getLocale()
getLocale
in interface com.vaadin.server.VaadinRequest
public java.lang.String getRemoteAddr()
getRemoteAddr
in interface com.vaadin.server.VaadinRequest
public boolean isSecure()
isSecure
in interface com.vaadin.server.VaadinRequest
public java.lang.String getHeader(java.lang.String headerName)
getHeader
in interface com.vaadin.server.VaadinRequest
public com.vaadin.server.VaadinService getService()
getService
in interface com.vaadin.server.VaadinRequest
public javax.servlet.http.Cookie[] getCookies()
getCookies
in interface com.vaadin.server.VaadinRequest
public java.lang.String getAuthType()
getAuthType
in interface com.vaadin.server.VaadinRequest
public java.lang.String getRemoteUser()
getRemoteUser
in interface com.vaadin.server.VaadinRequest
public java.security.Principal getUserPrincipal()
getUserPrincipal
in interface com.vaadin.server.VaadinRequest
public boolean isUserInRole(java.lang.String role)
isUserInRole
in interface com.vaadin.server.VaadinRequest
public void removeAttribute(java.lang.String name)
removeAttribute
in interface com.vaadin.server.VaadinRequest
public java.util.Enumeration<java.lang.String> getAttributeNames()
getAttributeNames
in interface com.vaadin.server.VaadinRequest
public java.util.Enumeration<java.util.Locale> getLocales()
getLocales
in interface com.vaadin.server.VaadinRequest
public java.lang.String getRemoteHost()
getRemoteHost
in interface com.vaadin.server.VaadinRequest
public int getRemotePort()
getRemotePort
in interface com.vaadin.server.VaadinRequest
public java.lang.String getCharacterEncoding()
getCharacterEncoding
in interface com.vaadin.server.VaadinRequest
public java.io.BufferedReader getReader()
getReader
in interface com.vaadin.server.VaadinRequest
public java.lang.String getMethod()
getMethod
in interface com.vaadin.server.VaadinRequest
public long getDateHeader(java.lang.String name)
getDateHeader
in interface com.vaadin.server.VaadinRequest
public java.util.Enumeration<java.lang.String> getHeaderNames()
getHeaderNames
in interface com.vaadin.server.VaadinRequest
public java.util.Enumeration<java.lang.String> getHeaders(java.lang.String name)
getHeaders
in interface com.vaadin.server.VaadinRequest