Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tiles.servlet.context
Class ServletTilesRequestContextFactory

    java.lang.Object
      org.apache.tiles.servlet.context.ServletTilesRequestContextFactory

All Implemented Interfaces:
  TilesRequestContextFactory, Initializable

    public class ServletTilesRequestContextFactory

extends java.lang.Object
implements TilesRequestContextFactory

Creates an instance of the appropriate `TilesRequestContext` implementation in a servlet environment.

Since:
  2.1.1
Version:
  $Rev: 711885 $ $Date: 2008-11-06 17:06:38 +0100 (gio, 06 nov 2008) $

Constructor Summary
`ServletTilesRequestContextFactory()`

Method Summary
`TilesRequestContext` | `createRequestContext(TilesApplicationContext context, java.lang.Object... requestItems)` Create a TilesRequestContext for the given context, request, and response.
`void` | `init(java.util.Map<java.lang.String,java.lang.String> configParameters)` Initializes the object.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ServletTilesRequestContextFactory

    public ServletTilesRequestContextFactory()

Method Detail

### init

    public void init(java.util.Map<java.lang.String,java.lang.String> configParameters)

  Initializes the object.

  Specified by:
    `init` in interface `Initializable`
  Parameters:
    `configParameters` - The map of parameters.

### createRequestContext

    public TilesRequestContext createRequestContext(TilesApplicationContext context,
                                                    java.lang.Object... requestItems)

  Create a TilesRequestContext for the given context, request, and response.

  Specified by:
    `createRequestContext` in interface `TilesRequestContextFactory`
  Parameters:
    `context` - the associated `TilesApplicationContext`
    `requestItems` - the associated request items, typically a request and a response.
  Returns:
    TilesRequestContext

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.