| Package | Description |
|---|---|
| net.sourceforge.stripes.controller |
This package contains classes which form the core internals of Stripes.
|
| Modifier and Type | Method and Description |
|---|---|
UrlBinding |
UrlBindingFactory.getBinding(HttpServletRequest request)
Examines a servlet request and returns the associated binding, if any.
|
UrlBinding |
UrlBindingFactory.getBinding(String uri)
Examines a URI (as returned by
HttpUtil.getRequestedPath(HttpServletRequest)) and
returns the associated binding, if any. |
UrlBinding |
UrlBindingFactory.getBindingPrototype(Class<? extends ActionBean> type)
Get the
UrlBinding prototype associated with the given ActionBean type. |
UrlBinding |
UrlBindingFactory.getBindingPrototype(HttpServletRequest request)
Examines a servlet request and returns the associated binding prototype, if any.
|
UrlBinding |
UrlBindingFactory.getBindingPrototype(String uri)
Examines a URI (as returned by
HttpUtil.getRequestedPath(HttpServletRequest)) and
returns the associated binding prototype, if any. |
static UrlBinding |
UrlBindingFactory.parseUrlBinding(Class<? extends ActionBean> beanType)
Look for a binding pattern for the given
ActionBean class, specified by the
UrlBinding annotation. |
static UrlBinding |
UrlBindingFactory.parseUrlBinding(Class<? extends ActionBean> beanType,
String pattern)
Parse the binding pattern and create a
UrlBinding object for the ActionBean
class. |
| Modifier and Type | Method and Description |
|---|---|
void |
UrlBindingFactory.addBinding(Class<? extends ActionBean> beanType,
UrlBinding binding)
Map an
ActionBean to a URL. |
protected void |
UrlBindingFactory.cachePath(String path,
UrlBinding binding)
Map a path directly to a binding.
|
protected void |
UrlBindingFactory.cachePrefix(String prefix,
UrlBinding binding)
Add a binding to the set of bindings associated with a prefix.
|
protected Set<String> |
UrlBindingFactory.getCachedPaths(UrlBinding binding)
Get a list of the request paths that will be wired directly to an ActionBean.
|
protected Set<String> |
UrlBindingFactory.getCachedPrefixes(UrlBinding binding)
Get a list of the request path prefixes that could map to an ActionBean.
|
© Copyright 2005-2006, Stripes Development Team.