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 |
---|---|
javax.ws.rs.core.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
public javax.ws.rs.core.Response getResource(String path)
Copyright © 2015 Nuxeo SA. All rights reserved.