Example usage for Java com.vaadin.server VaadinRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | getAttribute(String name) Gets a request attribute. |
String | getContextPath() Returns the portion of the request URI that indicates the context of the request. |
Cookie[] | getCookies() Returns an array containing all of the Cookie objects the client sent with this request. |
long | getDateHeader(String name) Returns the value of the specified request header as a long value that represents a Date object. |
String | getHeader(String headerName) Gets the value of a request header, e.g. |
Enumeration | getHeaderNames() Returns an enumeration of all the header names this request contains. |
Locale | getLocale() Gets locale information from the query, e.g. |
String | getMethod() Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT. |
String | getParameter(String parameter) Gets the named request parameter This is typically a HTTP GET or POST parameter, though other request types might have other ways of representing parameters. |
Map | getParameterMap() Gets all the parameters of the request. |
String | getPathInfo() Gets the path of the requested resource relative to the application. |
String | getRemoteAddr() Returns the IP address from which the request came. |
String | getRemoteHost() Returns the fully qualified name of the client or the last proxy that sent the request. |
String | getRemoteUser() Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated. |
VaadinService | getService() Gets the vaadin service for the context of this request. |
Principal | getUserPrincipal() Returns a java.security.Principal object containing the name of the current authenticated user. |
WrappedSession | getWrappedSession() Gets the session associated with this request, creating a new if there is no session. |
WrappedSession | getWrappedSession(boolean allowSessionCreation) Gets the session associated with this request, optionally creating a new if there is no session. |
void | setAttribute(String name, Object value) Defines a request attribute. |