|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.trajano.twiff.internal.servlet.ViewPageLookup
net.trajano.twiff.internal.servlet.AttachmentActionPageLookup
public class AttachmentActionPageLookup
Provides the logic to lookup data for action and attachements.
| Constructor Summary | |
|---|---|
AttachmentActionPageLookup(ViewServletConfiguration configuration)
Constructs the lookup. |
|
| Method Summary | |
|---|---|
Method |
getActionMethod(HttpServletRequest request)
This extracts the action method from the URL requested in the servlet request. |
String |
getActionMethodName(HttpServletRequest request)
This extracts the action method 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. |
String |
getPropertyName(HttpServletRequest request)
This extracts the property name from the URL requested in the servlet request. |
| Methods inherited from class net.trajano.twiff.internal.servlet.ViewPageLookup |
|---|
getPageBeanClass, getPageBeanClassName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.trajano.twiff.PageLookup |
|---|
getPageBeanClass, getPageBeanClassName |
| Methods inherited from interface net.trajano.twiff.PageLookup |
|---|
getPageBeanClass, getPageBeanClassName |
| Constructor Detail |
|---|
public AttachmentActionPageLookup(ViewServletConfiguration configuration)
configuration - configuration.| Method Detail |
|---|
public Method getActionMethod(HttpServletRequest request)
throws NoSuchMethodException,
SecurityException,
ClassNotFoundException
ActionPageLookup
getActionMethod in interface ActionPageLookuprequest - the servlet request.
ClassNotFoundException
NoSuchMethodException - the page bean class method does not exist.
SecurityException - the page bean class method is not public.ActionPageLookup.getActionMethod(javax.servlet.http.HttpServletRequest)public String getActionMethodName(HttpServletRequest request)
ActionPageLookup
getActionMethodName in interface ActionPageLookuprequest - the servlet request.
ActionPageLookup.getActionMethodName(javax.servlet.http.HttpServletRequest)public String getPageName(HttpServletRequest request)
PageLookup
getPageName in interface PageLookupgetPageName in class ViewPageLookuprequest - the servlet request.
ViewPageLookup.getPageName(javax.servlet.http.HttpServletRequest)public String getPropertyName(HttpServletRequest request)
AttachmentPageLookup
getPropertyName in interface AttachmentPageLookuprequest - the servlet request.
AttachmentPageLookup.getPropertyName(javax.servlet.http.HttpServletRequest)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||