Class ApplicationProfile
java.lang.Object
com.janeirodigital.sai.core.resources.ReadableResource
com.janeirodigital.sai.core.resources.CRUDResource
com.janeirodigital.sai.core.agents.ApplicationProfile
Modifiable instantiation of an
Application,
which is also cross-pollinated with the
Client Identifier Document
from Solid-OIDC.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.janeirodigital.sai.core.resources.ReadableResource
contentType, dataset, exists, httpClient, jsonLdContext, resource, saiSession, unprotected, uri
-
Method Summary
Modifier and TypeMethodDescriptionstatic ApplicationProfile
get
(URI uri, SaiSession saiSession) Callget(URI, SaiSession, ContentType)
using the application profile default content-type of JSON-LDstatic ApplicationProfile
get
(URI uri, SaiSession saiSession, com.janeirodigital.sai.httputils.ContentType contentType) Get aApplicationProfile
from the provideduri
reload()
Reload a new instance ofApplicationProfile
using the attributes of the current instanceMethods inherited from class com.janeirodigital.sai.core.resources.CRUDResource
delete, update
Methods inherited from class com.janeirodigital.sai.core.resources.ReadableResource
checkReadableResponse, read
-
Method Details
-
get
public static ApplicationProfile get(URI uri, SaiSession saiSession, com.janeirodigital.sai.httputils.ContentType contentType) throws SaiException, com.janeirodigital.sai.httputils.SaiHttpNotFoundException Get aApplicationProfile
from the provideduri
- Parameters:
uri
- URI of theRegistrySet
to getsaiSession
-SaiSession
to assigncontentType
-ContentType
to use- Returns:
- Retrieved
ApplicationProfile
- Throws:
SaiException
com.janeirodigital.sai.httputils.SaiHttpNotFoundException
-
get
public static ApplicationProfile get(URI uri, SaiSession saiSession) throws com.janeirodigital.sai.httputils.SaiHttpNotFoundException, SaiException Callget(URI, SaiSession, ContentType)
using the application profile default content-type of JSON-LD- Parameters:
uri
- URI of theApplicationProfile
saiSession
-SaiSession
to assign- Returns:
- Throws:
com.janeirodigital.sai.httputils.SaiHttpNotFoundException
SaiException
-
reload
public ApplicationProfile reload() throws com.janeirodigital.sai.httputils.SaiHttpNotFoundException, SaiExceptionReload a new instance ofApplicationProfile
using the attributes of the current instance- Returns:
- Reloaded
ApplicationProfile
- Throws:
com.janeirodigital.sai.httputils.SaiHttpNotFoundException
SaiException
-