public abstract class UsageEndpoint extends SecuredEndpoint
SecuredEndpoint.SecuredType| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.configuration.Configuration |
configuration |
protected javax.servlet.ServletContext |
context |
protected UsageDao |
dao |
protected com.google.gson.Gson |
gson |
static Pattern |
relativePattern |
protected com.thoughtworks.xstream.XStream |
xstream |
accountsDao, extensions, identityContext, logger, userIdentityContextbaseRecordingsPath| Constructor and Description |
|---|
UsageEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.ws.rs.core.Response |
getUsage(String accountSid,
String subresource,
javax.ws.rs.core.UriInfo info,
javax.ws.rs.core.MediaType responseType) |
void |
init() |
allowOnlySuperAdmin, checkAuthenticatedAccount, checkPermission, executePostApiAction, executePreApiAction, getAdministratorRole, hasAccountRole, init, isSecuredByPermission, isSuperAdmin, secure, secure, securegetApiVersion, getBigInteger, getBoolean, getDateTime, getHasVoiceCallerIdLookup, getInteger, getLong, getMethod, getPhoneNumber, getSid, getUrl, isEmpty@Context protected javax.servlet.ServletContext context
protected org.apache.commons.configuration.Configuration configuration
protected UsageDao dao
protected com.google.gson.Gson gson
protected com.thoughtworks.xstream.XStream xstream
public static final Pattern relativePattern
@PostConstruct public void init()
Copyright © 2017. All Rights Reserved.