public abstract class GwtResource extends ModuleRoot
@GET method must be defined by the subclasses to point to the main HTML file of
the GWT module.
Example:
@GET @Produces("text/html")
public Object getIndex() {
return getTemplate("index.ftl");
}
| Constructor and Description |
|---|
GwtResource() |
| Modifier and Type | Method and Description |
|---|---|
Response |
getResource(String path)
Gets a static resource from the GWT module.
|
getLink, getSkinResource, handleError, setHttpHeaders, setHttpRequest, setUriInfodisptachAdapter, isAdaptercheckGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRootgetAdapterCopyright © 2011 Nuxeo SA. All Rights Reserved.