net.trajano.twiff.adapter
Class RequestAdapter
java.lang.Object
net.trajano.twiff.adapter.RequestAdapter
- Direct Known Subclasses:
- ActionServletRequestAdapter, ViewServletRequestAdapter
public class RequestAdapter
- extends Object
This provides access to the ServletRequest
data.
Adapters like this are meant to remove the implicit casting performed by
those that use it.
- Author:
- Archimedes Trajano
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestAdapter
public RequestAdapter(ServletRequest request)
- Creates the adapter.
- Parameters:
request
- the request to adapt
getContainer
public final MutablePicoContainer getContainer()
- Returns the
PicoContainer
stored in the request. The container is
stored in the attribute
TwiffInternal.REQUEST_CONTAINER_KEY
.
- Returns:
- the application level container.
Copyright © 2004-2005 trajano.net. All Rights Reserved.