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, setUriInfo
disptachAdapter, isAdapter
checkGuard, 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, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkGuard, 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, setRoot
getAdapter
Copyright © 2013 Nuxeo SA. All Rights Reserved.