Package com.nimbusds.jose.util
Class Resource
- java.lang.Object
-
- com.nimbusds.jose.util.Resource
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContent()
Gets the content of this resource.String
getContentType()
Gets the content type of this resource.
-
-
-
Method Detail
-
getContent
public String getContent()
Gets the content of this resource.- Returns:
- The content, empty string if none.
-
getContentType
public String getContentType()
Gets the content type of this resource.- Returns:
- The content type,
null
if not specified.
-
-