public class GadgetRoot extends ModuleRoot
Constructor and Description |
---|
GadgetRoot() |
Modifier and Type | Method and Description |
---|---|
Object |
doGetGadget(String gadgetId) |
javax.ws.rs.core.Response |
handleError(javax.ws.rs.WebApplicationException e)
Exception handler
|
Object |
noRootRessource() |
getLink, getSkinResource, 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 Object noRootRessource()
public Object doGetGadget(String gadgetId) throws ClientException
ClientException
public javax.ws.rs.core.Response handleError(javax.ws.rs.WebApplicationException e)
handleError
in interface ModuleResource
handleError
in class ModuleRoot
Copyright © 2015 Nuxeo SA. All rights reserved.