# Uses of Interface
org.apache.tiles.request.Request

Packages that use Request
Package
Description
org.apache.struts2.tiles
org.apache.tiles.api
The Tiles taglib and framework allows building web pages by assembling reusable pieces of pages, called Tiles.
org.apache.tiles.api.access
Tiles access package.
org.apache.tiles.api.mgmt
Classes and interfaces to be used when it is needed to create Tiles definitions during the execution of the application.
org.apache.tiles.api.preparer
"View preparers" are objects that allows the "preparation" of a Tiles artifact (definition, template or attribute) before it is rendered.
It is useful, for example, when a view item should be built and stored in a particular context (e.g.
org.apache.tiles.core.definition
It contains classes and interfaces to allow manipulations of "definitions", i.e.
org.apache.tiles.core.evaluator
Interfaces to manage attribute value evaluation.
org.apache.tiles.core.evaluator.impl
Classes to manage attribute value evaluation.
org.apache.tiles.core.impl
It contains the basic implementations of Tiles container.
org.apache.tiles.core.impl.mgmt
It contains the basic implementations of mutable Tiles containers.
org.apache.tiles.core.locale
Classes and interfaces to allow locale resolution in an application, i.e.
org.apache.tiles.core.locale.impl
Basic implementation of the locale resolver.
org.apache.tiles.core.prepare.factory
"View preparers" are objects that allows the "preparation" of a Tiles artifact (definition, template or attribute) before it is rendered.
It is useful, for example, when a view item should be built and stored in a particular context (e.g.
org.apache.tiles.core.renderer
Interfaces to manage attribute rendering.
org.apache.tiles.el
Attribute evaluator classes that can perform EL evaluation for attributes.
org.apache.tiles.ognl
Attribute evaluator classes that can perform OGNL evaluation for attributes.
org.apache.tiles.request
org.apache.tiles.request.freemarker
Support for Freemarker's Environment as a request.
org.apache.tiles.request.freemarker.autotag
Runtime part of Autotag support for Freemarker.
org.apache.tiles.request.jsp
Support of Tiles request in a JSP environment.
org.apache.tiles.request.jsp.autotag
Runtime part of Autotag support for JavaServer pages.
org.apache.tiles.request.render
org.apache.tiles.request.servlet
Tiles request support for Servlet technology.
org.apache.tiles.request.velocity
Tiles request support for Velocity.
org.apache.tiles.request.velocity.autotag
Runtime part of Autotag support for Velocity.
org.apache.tiles.request.velocity.render
Renderering support for Velocity.
org.apache.tiles.template
Tiles template classes, that enable to write support code for template languages (JSP, FreeMarker, Velocity).
org.apache.tiles.velocity.template
Classes that allow the use of "Tiles template" as a Velocity tool.

- ## Uses of Request in org.apache.struts2.tiles

  Methods in org.apache.struts2.tiles with parameters of type Request
  Modifier and Type
  Method
  Description
  `Object`
  I18NAttributeEvaluator.`evaluate(String expression, Request request)`
  `Object`
  StrutsAttributeEvaluator.`evaluate(String expression, Request request)`
  `boolean`
  StrutsFreeMarkerAttributeRenderer.`isRenderable(String path, Request request)`
  `protected ActionContext`
  StrutsFreeMarkerAttributeRenderer.`readActionContext(Request request)`
  Depending on how Tiles definition was defined, request can an instance of JspRequest (for JSPs) or a ServletRequest (FreeMarker)
  `void`
  StrutsFreeMarkerAttributeRenderer.`render(String path, Request request)`
  `Locale`
  StrutsTilesLocaleResolver.`resolveLocale(Request request)`

- ## Uses of Request in org.apache.tiles.api

  Methods in org.apache.tiles.api with parameters of type Request
  Modifier and Type
  Method
  Description
  `void`
  TilesContainer.`endContext(Request request)`
  Ends a context, where attribute values are stored independently of others.
  It must be called after a `TilesContainer.startContext(Request)` call.
  `void`
  TilesContainerWrapper.`endContext(Request request)`
  `Object`
  TilesContainer.`evaluate(Attribute attribute, Request request)`
  Evaluates the given attribute.
  `Object`
  TilesContainerWrapper.`evaluate(Attribute attribute, Request request)`
  `AttributeContext`
  TilesContainer.`getAttributeContext(Request request)`
  Retrieve the attribute context of the current request.
  `AttributeContext`
  TilesContainerWrapper.`getAttributeContext(Request request)`
  `Definition`
  TilesContainer.`getDefinition(String definitionName, Request request)`
  Returns a definition specifying its name.
  `Definition`
  TilesContainerWrapper.`getDefinition(String definitionName, Request request)`
  `boolean`
  Attribute.`isPermitted(Request request)`
  Checks if the current user can use this attribute.
  `boolean`
  TilesContainer.`isValidDefinition(String definition, Request request)`
  Determine whether the definition exists.
  `boolean`
  TilesContainerWrapper.`isValidDefinition(String definition, Request request)`
  `void`
  TilesContainer.`prepare(String preparer, Request request)`
  Executes a preparer.
  `void`
  TilesContainerWrapper.`prepare(String preparer, Request request)`
  `void`
  TilesContainer.`render(String definition, Request request)`
  Render the given tiles request.
  `void`
  TilesContainer.`render(Attribute attribute, Request request)`
  Render the given Attribute.
  `void`
  TilesContainer.`render(Definition definition, Request request)`
  Renders the specified definition.
  `void`
  TilesContainerWrapper.`render(String definition, Request request)`
  `void`
  TilesContainerWrapper.`render(Attribute attribute, Request request)`
  `void`
  TilesContainerWrapper.`render(Definition definition, Request request)`
  `void`
  TilesContainer.`renderContext(Request request)`
  Renders the current context, as it is.
  `void`
  TilesContainerWrapper.`renderContext(Request request)`
  `AttributeContext`
  TilesContainer.`startContext(Request request)`
  Starts a new context, where attribute values are stored independently of others.
  When the use of the contexts is finished, call`TilesContainer.endContext(Request)`
  `AttributeContext`
  TilesContainerWrapper.`startContext(Request request)`

- ## Uses of Request in org.apache.tiles.api.access

  Methods in org.apache.tiles.api.access with parameters of type Request
  Modifier and Type
  Method
  Description
  `static TilesContainer`
  TilesAccess.`getCurrentContainer(Request request)`
  Returns the current container that has been set, or the default one.
  `static void`
  TilesAccess.`setCurrentContainer(Request request, String key)`
  Sets the current container to use in web pages.
  `static void`
  TilesAccess.`setCurrentContainer(Request request, TilesContainer container)`
  Sets the current container to use in web pages.

- ## Uses of Request in org.apache.tiles.api.mgmt

  Methods in org.apache.tiles.api.mgmt with parameters of type Request
  Modifier and Type
  Method
  Description
  `void`
  MutableTilesContainer.`register(Definition definition, Request request)`
  Register a new definition with the container.

- ## Uses of Request in org.apache.tiles.api.preparer

  Methods in org.apache.tiles.api.preparer with parameters of type Request
  Modifier and Type
  Method
  Description
  `void`
  ViewPreparer.`execute(Request tilesContext, AttributeContext attributeContext)`
  Method associated to a tile and called immediately before the tile is included.

- ## Uses of Request in org.apache.tiles.core.definition

  Methods in org.apache.tiles.core.definition with parameters of type Request
  Modifier and Type
  Method
  Description
  `Definition`
  DefinitionsFactory.`getDefinition(String name, Request tilesContext)`
  Returns a Definition object that matches the given name and Tiles context.
  `Definition`
  UnresolvingLocaleDefinitionsFactory.`getDefinition(String name, Request tilesContext)`
  Returns a Definition object that matches the given name and Tiles context.

- ## Uses of Request in org.apache.tiles.core.evaluator

  Methods in org.apache.tiles.core.evaluator with parameters of type Request
  Modifier and Type
  Method
  Description
  `Object`
  AbstractAttributeEvaluator.`evaluate(Attribute attribute, Request request)`
  Evaluates an attribute value.
  `Object`
  AttributeEvaluator.`evaluate(String expression, Request request)`
  Evaluates an expression.
  `Object`
  AttributeEvaluator.`evaluate(Attribute attribute, Request request)`
  Evaluates an attribute value.

- ## Uses of Request in org.apache.tiles.core.evaluator.impl

  Methods in org.apache.tiles.core.evaluator.impl with parameters of type Request
  Modifier and Type
  Method
  Description
  `Object`
  DirectAttributeEvaluator.`evaluate(String expression, Request request)`
  Evaluates an expression.

- ## Uses of Request in org.apache.tiles.core.impl

  Methods in org.apache.tiles.core.impl with parameters of type Request
  Modifier and Type
  Method
  Description
  `void`
  BasicTilesContainer.`endContext(Request request)`
  Ends a context, where attribute values are stored independently of others.
  It must be called after a `TilesContainer.startContext(Request)` call.
  `Object`
  BasicTilesContainer.`evaluate(Attribute attribute, Request request)`
  Evaluates the given attribute.
  `AttributeContext`
  BasicTilesContainer.`getAttributeContext(Request request)`
  Retrieve the attribute context of the current request.
  `protected AttributeContext`
  BasicTilesContainer.`getContext(Request tilesContext)`
  Get attribute context from request.
  `protected Deque<AttributeContext>`
  BasicTilesContainer.`getContextStack(Request tilesContext)`
  Returns the context stack.
  `Definition`
  BasicTilesContainer.`getDefinition(String definitionName, Request request)`
  Returns a definition specifying its name.
  `boolean`
  BasicTilesContainer.`isValidDefinition(String definitionName, Request request)`
  Determine whether the definition exists.
  `protected AttributeContext`
  BasicTilesContainer.`popContext(Request tilesContext)`
  Pops a context object out of the stack.
  `void`
  BasicTilesContainer.`prepare(String preparer, Request request)`
  Executes a preparer.
  `protected void`
  BasicTilesContainer.`pushContext(AttributeContext context, Request tilesContext)`
  Pushes a context object in the stack.
  `void`
  BasicTilesContainer.`render(String definitionName, Request request)`
  Render the given tiles request.
  `void`
  BasicTilesContainer.`render(Attribute attr, Request request)`
  Render the given Attribute.
  `void`
  BasicTilesContainer.`render(Definition definition, Request request)`
  Renders the specified definition.
  `protected void`
  BasicTilesContainer.`render(Request request, AttributeContext attributeContext)`
  Renders the specified attribute context.
  `void`
  BasicTilesContainer.`renderContext(Request request)`
  Renders the current context, as it is.
  `AttributeContext`
  BasicTilesContainer.`startContext(Request request)`
  Starts a new context, where attribute values are stored independently of others.
  When the use of the contexts is finished, call`TilesContainer.endContext(Request)`

- ## Uses of Request in org.apache.tiles.core.impl.mgmt

  Methods in org.apache.tiles.core.impl.mgmt with parameters of type Request
  Modifier and Type
  Method
  Description
  `Definition`
  CachingTilesContainer.`getDefinition(String definition, Request request)`
  Returns a definition by name.
  `boolean`
  CachingTilesContainer.`isValidDefinition(String definition, Request request)`
  Determine whether the definition exists.
  `void`
  CachingTilesContainer.`register(Definition definition, Request request)`
  Register a new definition with the container.
  `void`
  CachingTilesContainer.`render(String definition, Request request)`
  Render the given tiles request.

- ## Uses of Request in org.apache.tiles.core.locale

  Methods in org.apache.tiles.core.locale with parameters of type Request
  Modifier and Type
  Method
  Description
  `Locale`
  LocaleResolver.`resolveLocale(Request request)`
  Resolves the locale.

- ## Uses of Request in org.apache.tiles.core.locale.impl

  Methods in org.apache.tiles.core.locale.impl with parameters of type Request
  Modifier and Type
  Method
  Description
  `Locale`
  DefaultLocaleResolver.`resolveLocale(Request request)`
  Resolves the locale.

- ## Uses of Request in org.apache.tiles.core.prepare.factory

  Methods in org.apache.tiles.core.prepare.factory with parameters of type Request
  Modifier and Type
  Method
  Description
  `ViewPreparer`
  BasicPreparerFactory.`getPreparer(String name, Request context)`
  Create a new instance of the named preparerInstance.
  `ViewPreparer`
  PreparerFactory.`getPreparer(String name, Request context)`
  Create the named {link ViewPreparer} for the specified context.

- ## Uses of Request in org.apache.tiles.core.renderer

  Methods in org.apache.tiles.core.renderer with parameters of type Request
  Modifier and Type
  Method
  Description
  `boolean`
  DefinitionRenderer.`isRenderable(String path, Request request)`
  Checks if this renderer can render a path.
  `void`
  DefinitionRenderer.`render(String path, Request request)`
  Renders a path.

- ## Uses of Request in org.apache.tiles.el

  Methods in org.apache.tiles.el with parameters of type Request
  Modifier and Type
  Method
  Description
  `Object`
  ELAttributeEvaluator.`evaluate(String expression, Request request)`
  Evaluates an expression.

- ## Uses of Request in org.apache.tiles.ognl

  Methods in org.apache.tiles.ognl with parameters of type Request
  Modifier and Type
  Method
  Description
  `Object`
  OGNLAttributeEvaluator.`evaluate(String expression, Request request)`
  Evaluates an expression.
  `ApplicationContext`
  TilesApplicationContextNestedObjectExtractor.`getNestedObject(Request obj)`
  Extracts the nested object.
  `ognl.PropertyAccessor`
  TilesContextPropertyAccessorDelegateFactory.`getPropertyAccessor(String propertyName, Request request)`
  Returns a prooerty accessor appropriate for the property name and the object passed.

- ## Uses of Request in org.apache.tiles.request

  Subinterfaces of Request in org.apache.tiles.request
  Modifier and Type
  Interface
  Description
  `interface`
  `DispatchRequest`
  Encapsulation of request information.
  `interface`
  `RequestWrapper`
  Delegate for ease of customization.
  Classes in org.apache.tiles.request that implement Request
  Modifier and Type
  Class
  Description
  `class`
  `AbstractClientRequest`
  Base class for "client" requests, i.e.
  `class`
  `AbstractRequest`
  Base request.
  `class`
  `AbstractViewRequest`
  Base class for "view" requests, i.e.
  `class`
  `DispatchRequestWrapper`
  Delegate for ease of customization.
  Methods in org.apache.tiles.request that return Request
  Modifier and Type
  Method
  Description
  `Request`
  RequestWrapper.`getWrappedRequest()`
  Returns the wrapped Tiles request.

- ## Uses of Request in org.apache.tiles.request.freemarker

  Classes in org.apache.tiles.request.freemarker that implement Request
  Modifier and Type
  Class
  Description
  `class`
  `FreemarkerRequest`
  The FreeMarker-specific request context.

- ## Uses of Request in org.apache.tiles.request.freemarker.autotag

  Methods in org.apache.tiles.request.freemarker.autotag that return Request
  Modifier and Type
  Method
  Description
  `Request`
  FreemarkerAutotagRuntime.`createRequest()`
  Creates a new Request instance.

- ## Uses of Request in org.apache.tiles.request.jsp

  Classes in org.apache.tiles.request.jsp that implement Request
  Modifier and Type
  Class
  Description
  `class`
  `JspRequest`
  Context implementation used for executing tiles within a jsp tag library.

- ## Uses of Request in org.apache.tiles.request.jsp.autotag

  Methods in org.apache.tiles.request.jsp.autotag that return Request
  Modifier and Type
  Method
  Description
  `Request`
  JspAutotagRuntime.`createRequest()`
  Creates a new Request instance.

- ## Uses of Request in org.apache.tiles.request.render

  Methods in org.apache.tiles.request.render with parameters of type Request
  Modifier and Type
  Method
  Description
  `boolean`
  ChainedDelegateRenderer.`isRenderable(String value, Request request)`
  Checks if this renderer can render a path.
  `boolean`
  DispatchRenderer.`isRenderable(String path, Request request)`
  Checks if this renderer can render a path.
  `boolean`
  Renderer.`isRenderable(String path, Request request)`
  Checks if this renderer can render a path.
  `boolean`
  StringRenderer.`isRenderable(String value, Request request)`
  Checks if this renderer can render a path.
  `void`
  ChainedDelegateRenderer.`render(String value, Request request)`
  `void`
  DispatchRenderer.`render(String path, Request request)`
  Renders a path.
  `void`
  Renderer.`render(String path, Request request)`
  Renders a path.
  `void`
  StringRenderer.`render(String value, Request request)`
  Renders a path.

- ## Uses of Request in org.apache.tiles.request.servlet

  Classes in org.apache.tiles.request.servlet that implement Request
  Modifier and Type
  Class
  Description
  `class`
  `ServletRequest`
  Servlet-based implementation of the TilesApplicationContext interface.
  Methods in org.apache.tiles.request.servlet with parameters of type Request
  Modifier and Type
  Method
  Description
  `static ServletRequest`
  ServletUtil.`getServletRequest(Request request)`
  Opens a TilesRequestContext until it finds a ServletTilesRequestContext.

- ## Uses of Request in org.apache.tiles.request.velocity

  Classes in org.apache.tiles.request.velocity that implement Request
  Modifier and Type
  Class
  Description
  `class`
  `VelocityRequest`
  The implementation of the Tiles request context specific for Velocity.

- ## Uses of Request in org.apache.tiles.request.velocity.autotag

  Methods in org.apache.tiles.request.velocity.autotag that return Request
  Modifier and Type
  Method
  Description
  `Request`
  VelocityAutotagRuntime.`createRequest()`

- ## Uses of Request in org.apache.tiles.request.velocity.render

  Methods in org.apache.tiles.request.velocity.render with parameters of type Request
  Modifier and Type
  Method
  Description
  `boolean`
  VelocityRenderer.`isRenderable(String path, Request request)`
  `void`
  VelocityRenderer.`render(String path, Request request)`

- ## Uses of Request in org.apache.tiles.template

  Methods in org.apache.tiles.template with parameters of type Request
  Modifier and Type
  Method
  Description
  `Attribute`
  AttributeResolver.`computeAttribute(TilesContainer container, Attribute attribute, String name, String role, boolean ignore, Object defaultValue, String defaultValueRole, String defaultValueType, Request request)`
  Computes the attribute.
  `Attribute`
  DefaultAttributeResolver.`computeAttribute(TilesContainer container, Attribute attribute, String name, String role, boolean ignore, Object defaultValue, String defaultValueRole, String defaultValueType, Request request)`
  Computes the attribute.
  `void`
  AddAttributeModel.`execute(Object value, String expression, String role, String type, Request request, ModelBody modelBody)`
  Executes the operation.
  `void`
  AddListAttributeModel.`execute(String role, Request request, ModelBody modelBody)`
  Executes the model.
  `void`
  DefinitionModel.`execute(String name, String template, String role, String extendsParam, String preparer, Request request, ModelBody modelBody)`
  Executes the operation.
  `void`
  GetAsStringModel.`execute(boolean ignore, String preparer, String role, Object defaultValue, String defaultValueRole, String defaultValueType, String name, Attribute value, Request request, ModelBody modelBody)`
  Executes the operation.
  `void`
  ImportAttributeModel.`execute(String name, String scope, String toName, boolean ignore, Request request)`
  Executes the model.
  `void`
  InsertAttributeModel.`execute(boolean ignore, String preparer, String role, Object defaultValue, String defaultValueRole, String defaultValueType, String name, Attribute value, boolean flush, Request request, ModelBody modelBody)`
  Executes the operation.
  `void`
  InsertDefinitionModel.`execute(String definitionName, String template, String templateType, String templateExpression, String role, String preparer, boolean flush, Request request, ModelBody modelBody)`
  Executes the operation.
  `void`
  InsertTemplateModel.`execute(String template, String templateType, String templateExpression, String role, String preparer, boolean flush, Request request, ModelBody modelBody)`
  Executes the operation.
  `void`
  PutAttributeModel.`execute(String name, Object value, String expression, String role, String type, boolean cascade, Request request, ModelBody modelBody)`
  Executes the operation.
  `void`
  PutListAttributeModel.`execute(String name, String role, boolean inherit, boolean cascade, Request request, ModelBody modelBody)`
  Executes the model.
  `void`
  SetCurrentContainerModel.`execute(String containerKey, Request request)`
  Executes the model.
  `static Deque<Object>`
  ComposeStackUtil.`getComposeStack(Request request)`
  Returns the current compose stack, or creates a new one if not present.

- ## Uses of Request in org.apache.tiles.velocity.template

  Methods in org.apache.tiles.velocity.template that return Request
  Modifier and Type
  Method
  Description
  `protected Request`
  VelocityStyleTilesTool.`createVelocityRequest(jakarta.servlet.ServletContext servletContext, Writer writer)`
  Creates a Velocity request.