com.google.sitebricks
Class ActionDescriptor
java.lang.Object
com.google.sitebricks.ActionDescriptor
- All Implemented Interfaces:
- PageBinder.ActionBinder
public class ActionDescriptor
- extends Object
- implements PageBinder.ActionBinder
Describes an action binding in the SPI for actions.
- Author:
- dhanji@gmail.com (Dhanji R. Prasanna)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionDescriptor
public ActionDescriptor(Action action,
PageBinder.PerformBinder performBinder)
ActionDescriptor
public ActionDescriptor(com.google.inject.Key<? extends Action> action,
PageBinder.PerformBinder performBinder)
on
public PageBinder.PerformBinder on(Class<? extends Annotation>... method)
- Specified by:
on in interface PageBinder.ActionBinder
select
public PageBinder.ActionBinder select(String param,
String value)
- Specified by:
select in interface PageBinder.ActionBinder
selectHeader
public PageBinder.ActionBinder selectHeader(String header,
String value)
- Specified by:
selectHeader in interface PageBinder.ActionBinder
selectHeader
public PageBinder.ActionBinder selectHeader(String param,
Pattern regex)
- Specified by:
selectHeader in interface PageBinder.ActionBinder
getAction
public Action getAction()
getActionKey
public com.google.inject.Key<? extends Action> getActionKey()
getSelectParams
public Map<String,String> getSelectParams()
getSelectHeaders
public Map<String,String> getSelectHeaders()
getMethods
public Set<Class<? extends Annotation>> getMethods()
Copyright © 2014. All rights reserved.