|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.trajano.twiff.internal.servlet.ViewPageLookup
public class ViewPageLookup
This is a simple page lookup implementation. It does not perform any caching.
Constructor Summary | |
---|---|
ViewPageLookup(ViewServletConfiguration configuration)
|
Method Summary | |
---|---|
Class<? extends Serializable> |
getPageBeanClass(HttpServletRequest request)
This extracts the page bean class from the URL requested in the servlet request. |
String |
getPageBeanClassName(HttpServletRequest request)
This extracts the page bean class name from the URL requested in the servlet request. |
String |
getPageName(HttpServletRequest request)
This extracts the page name from the URL requested in the servlet request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewPageLookup(ViewServletConfiguration configuration)
configuration
- Method Detail |
---|
public String getPageName(HttpServletRequest request)
PageLookup
getPageName
in interface PageLookup
request
- the servlet request.
PageLookup.getPageName(javax.servlet.http.HttpServletRequest)
public String getPageBeanClassName(HttpServletRequest request)
PageLookup
getPageBeanClassName
in interface PageLookup
request
- the servlet request.
PageLookup.getPageBeanClassName(javax.servlet.http.HttpServletRequest)
public Class<? extends Serializable> getPageBeanClass(HttpServletRequest request) throws ClassNotFoundException
PageLookup
Serializable
to ensure
that the bean can be persisted if necessary.
getPageBeanClass
in interface PageLookup
request
- the servlet request.
ClassNotFoundException
- class is not found.PageLookup.getPageBeanClass(javax.servlet.http.HttpServletRequest)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |