Java com.vaadin.server VaadinRequest fields, constructors, methods, implement or subclass

Example usage for Java com.vaadin.server VaadinRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.vaadin.server VaadinRequest.

The text is from its open source code.

Implementation

com.vaadin.server.VaadinRequest has the following implementations.
Click this link to see all its implementation.

Method

ObjectgetAttribute(String name)
Gets a request attribute.
StringgetContextPath()
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.
longgetDateHeader(String name)
Returns the value of the specified request header as a long value that represents a Date object.
StringgetHeader(String headerName)
Gets the value of a request header, e.g.
EnumerationgetHeaderNames()
Returns an enumeration of all the header names this request contains.
LocalegetLocale()
Gets locale information from the query, e.g.
StringgetMethod()
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
StringgetParameter(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.
MapgetParameterMap()
Gets all the parameters of the request.
StringgetPathInfo()
Gets the path of the requested resource relative to the application.
StringgetRemoteAddr()
Returns the IP address from which the request came.
StringgetRemoteHost()
Returns the fully qualified name of the client or the last proxy that sent the request.
StringgetRemoteUser()
Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated.
VaadinServicegetService()
Gets the vaadin service for the context of this request.
PrincipalgetUserPrincipal()
Returns a java.security.Principal object containing the name of the current authenticated user.
WrappedSessiongetWrappedSession()
Gets the session associated with this request, creating a new if there is no session.
WrappedSessiongetWrappedSession(boolean allowSessionCreation)
Gets the session associated with this request, optionally creating a new if there is no session.
voidsetAttribute(String name, Object value)
Defines a request attribute.