public class RestProviders extends RESTAPI
RESTAPI.Action
Modifier and Type | Field and Description |
---|---|
protected static AAILogger |
aaiLogger |
protected static String |
authPolicyFunctionName |
Constructor and Description |
---|
RestProviders() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
deleteProvider(String objectFromRequest,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers,
javax.servlet.http.HttpServletRequest req,
String resourceVersion)
Delete provider.
|
javax.ws.rs.core.Response |
getProvider(javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers,
javax.servlet.http.HttpServletRequest req,
String depthParam)
Gets the provider.
|
AAIResource |
parseUri(HashMap<String,String> allKeys,
LinkedHashMap<String,LinkedHashMap<String,Object>> keyList,
String uriInfo,
AAIExtensionMap aaiExtMap)
Parses the uri.
|
javax.ws.rs.core.Response |
putProvider(String objectFromRequest,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers,
javax.servlet.http.HttpServletRequest req)
Put provider.
|
consumerExceptionResponseGenerator, genDate, genDate, getDynamicEntityForRequest, getFromAppId, getMediaType, getTransId, logTransaction, logTransaction, logTransaction, setDepth, validateIntrospector
protected static String authPolicyFunctionName
protected static AAILogger aaiLogger
public javax.ws.rs.core.Response putProvider(String objectFromRequest, @Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.HttpHeaders headers, @Context javax.servlet.http.HttpServletRequest req)
objectFromRequest
- the object from requesturiInfo
- the uri infoheaders
- the headersreq
- the reqpublic javax.ws.rs.core.Response deleteProvider(String objectFromRequest, @Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.HttpHeaders headers, @Context javax.servlet.http.HttpServletRequest req, String resourceVersion)
objectFromRequest
- the object from requesturiInfo
- the uri infoheaders
- the headersreq
- the reqresourceVersion
- the resource versionpublic javax.ws.rs.core.Response getProvider(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.HttpHeaders headers, @Context javax.servlet.http.HttpServletRequest req, String depthParam)
uriInfo
- the uri infoheaders
- the headersreq
- the reqdepthParam
- the depth parampublic AAIResource parseUri(HashMap<String,String> allKeys, LinkedHashMap<String,LinkedHashMap<String,Object>> keyList, String uriInfo, AAIExtensionMap aaiExtMap) throws UnsupportedEncodingException, AAIException
allKeys
- the all keyskeyList
- the key listuriInfo
- the uri infoaaiExtMap
- the aai ext mapUnsupportedEncodingException
- the unsupported encoding exceptionAAIException
- the AAI exceptionCopyright © 2017. All Rights Reserved.