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(javax.servlet.http.HttpServletRequest request)
Examines a servlet request and returns the associated binding, if any.
|
UrlBinding |
UrlBindingFactory.getBinding(java.lang.String uri)
Examines a URI (as returned by
HttpUtil.getRequestedPath(HttpServletRequest) ) and
returns the associated binding, if any. |
UrlBinding |
UrlBindingFactory.getBindingPrototype(java.lang.Class<? extends ActionBean> type)
Get the
UrlBinding prototype associated with the given ActionBean type. |
UrlBinding |
UrlBindingFactory.getBindingPrototype(javax.servlet.http.HttpServletRequest request)
Examines a servlet request and returns the associated binding prototype, if any.
|
UrlBinding |
UrlBindingFactory.getBindingPrototype(java.lang.String uri)
Examines a URI (as returned by
HttpUtil.getRequestedPath(HttpServletRequest) ) and
returns the associated binding prototype, if any. |
static UrlBinding |
UrlBindingFactory.parseUrlBinding(java.lang.Class<? extends ActionBean> beanType)
Look for a binding pattern for the given
ActionBean class, specified by the
UrlBinding annotation. |
static UrlBinding |
UrlBindingFactory.parseUrlBinding(java.lang.Class<? extends ActionBean> beanType,
java.lang.String pattern)
Parse the binding pattern and create a
UrlBinding object for the ActionBean
class. |
Modifier and Type | Method and Description |
---|---|
void |
UrlBindingFactory.addBinding(java.lang.Class<? extends ActionBean> beanType,
UrlBinding binding)
Map an
ActionBean to a URL. |
protected void |
UrlBindingFactory.cachePath(java.lang.String path,
UrlBinding binding)
Map a path directly to a binding.
|
protected void |
UrlBindingFactory.cachePrefix(java.lang.String prefix,
UrlBinding binding)
Add a binding to the set of bindings associated with a prefix.
|
protected java.util.Set<java.lang.String> |
UrlBindingFactory.getCachedPaths(UrlBinding binding)
Get a list of the request paths that will be wired directly to an ActionBean.
|
protected java.util.Set<java.lang.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.