|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.stripes.examples.bugzooky.BugzookyActionBean
net.sourceforge.stripes.examples.bugzooky.ViewResourceActionBean
public class ViewResourceActionBean
ActionBean that is used to display source files from the bugzooky web application to the user.
Constructor Summary | |
---|---|
ViewResourceActionBean()
|
Method Summary | |
---|---|
Collection |
getAvailableResources()
Method used when this ActionBean is used as a view helper. |
String |
getResource()
Gets the name of the resource to be viewed. |
void |
setResource(String resource)
Sets the name resource to be viewed. |
void |
validate(net.sourceforge.stripes.validation.ValidationErrors errors)
Validates that only resources in the allowed places are asked for. |
net.sourceforge.stripes.action.Resolution |
view()
Handler method which will handle a request for a resource in the web application and stream it back to the client inside of an HTML preformatted section. |
Methods inherited from class net.sourceforge.stripes.examples.bugzooky.BugzookyActionBean |
---|
getContext, populateBug, setContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewResourceActionBean()
Method Detail |
---|
public void setResource(String resource)
public String getResource()
@ValidationMethod public void validate(net.sourceforge.stripes.validation.ValidationErrors errors)
public net.sourceforge.stripes.action.Resolution view()
public Collection getAvailableResources()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |