public class ScopesResource extends ApiResource
| Modifier and Type | Class and Description |
|---|---|
static class |
ScopesResource.Scope |
static class |
ScopesResource.Scopes |
HttpExtension.Method| Modifier and Type | Method and Description |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
init(ApplicationContext context)
Initialises the extensions with the context of the application.
|
boolean |
supports(HttpExtension.Method method)
Returns
true if this resource supports a given method. |
accepts, doDelete, doHead, doOptions, doPut, doTrace, handles, method, produces, signaturecontext, excludes, init, mapping, mapping, name, namedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logpublic static final String mapping
public boolean supports(HttpExtension.Method method)
ApiResourcetrue if this resource supports a given method.supports in class ApiResourcemethod - the methodtrue if this resource supports the given methodpublic void init(ApplicationContext context) throws Exception
ApplicationExtensioninit in interface ApplicationExtensioninit in class HttpExtensioncontext - the application contextException - if the extension cannot be initialisedpublic void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doGet in class ApiResourcejavax.servlet.ServletExceptionIOExceptionpublic void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doPost in class ApiResourcejavax.servlet.ServletExceptionIOExceptionCopyright © 2014. All Rights Reserved.