org.duelengine.duel.rs
Class DuelController
java.lang.Object
org.duelengine.duel.rs.DuelController
public abstract class DuelController
- extends Object
Simple MVC-style controller for using DUEL views in JAX-RS
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DuelController
public DuelController()
getViewContext
protected abstract DuelContext getViewContext()
view
protected ViewResult view(Class<? extends DuelView> view)
- Builds a view result
error
protected javax.ws.rs.core.StreamingOutput error(Exception ex)
- Renders an error message to the response
Copyright © 2011. All Rights Reserved.