Class ReadableApplicationProfile
java.lang.Object
com.janeirodigital.sai.core.resources.ReadableResource
com.janeirodigital.sai.core.agents.ReadableApplicationProfile
Publicly readable instantiation of an
Application,
profile which is also cross-pollinated with the
Client Identifier Document
from Solid-OIDC.
-
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 ReadableApplicationProfile
get
(URI uri, SaiSession saiSession) Callget(URI, SaiSession, ContentType)
without specifying a desired content type for retrievalstatic ReadableApplicationProfile
get
(URI uri, SaiSession saiSession, com.janeirodigital.sai.httputils.ContentType contentType) Get aReadableApplicationProfile
from the provideduri
.reload()
Reload a new instance ofReadableApplicationProfile
using the attributes of the current instanceMethods inherited from class com.janeirodigital.sai.core.resources.ReadableResource
checkReadableResponse, read
-
Method Details
-
get
public static ReadableApplicationProfile get(URI uri, SaiSession saiSession, com.janeirodigital.sai.httputils.ContentType contentType) throws SaiException, com.janeirodigital.sai.httputils.SaiHttpNotFoundException Get aReadableApplicationProfile
from the provideduri
.- Parameters:
uri
- URI to get theReadableApplicationProfile
fromsaiSession
-SaiSession
to usecontentType
-ContentType
to use for retrieval- Returns:
ReadableApplicationProfile
- Throws:
SaiException
com.janeirodigital.sai.httputils.SaiHttpNotFoundException
-
get
public static ReadableApplicationProfile get(URI uri, SaiSession saiSession) throws SaiException, com.janeirodigital.sai.httputils.SaiHttpNotFoundException Callget(URI, SaiSession, ContentType)
without specifying a desired content type for retrieval- Parameters:
uri
- URI of theReadableApplicationProfile
to getsaiSession
-SaiSession
to assign- Returns:
- Retrieved
ReadableApplicationProfile
- Throws:
SaiException
com.janeirodigital.sai.httputils.SaiHttpNotFoundException
-
reload
public ReadableApplicationProfile reload() throws com.janeirodigital.sai.httputils.SaiHttpNotFoundException, SaiExceptionReload a new instance ofReadableApplicationProfile
using the attributes of the current instance- Returns:
- Reloaded
ReadableApplicationProfile
- Throws:
com.janeirodigital.sai.httputils.SaiHttpNotFoundException
SaiException
-