java.lang.Object
net.shibboleth.idp.plugin.oidc.op.messaging.JSONSuccessResponse
- All Implemented Interfaces:
Message, Response, SuccessResponse
Deprecated, for removal: This API element is subject to removal in a future version.
Class for creating JSON Success response.
-
Field Summary
Fields
Deprecated, for removal: This API element is subject to removal in a future version.
cache control value.
Deprecated, for removal: This API element is subject to removal in a future version.
JSON content.
Deprecated, for removal: This API element is subject to removal in a future version.
pragma value.
-
Constructor Summary
Constructors
Deprecated, for removal: This API element is subject to removal in a future version.
Constructor.
Deprecated, for removal: This API element is subject to removal in a future version.
Constructor.
-
Method Summary
boolean
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
content
Deprecated, for removal: This API element is subject to removal in a future version.
JSON content.
-
cacheControl
Deprecated, for removal: This API element is subject to removal in a future version.
cache control value.
-
pragma
Deprecated, for removal: This API element is subject to removal in a future version.
pragma value.
-
Constructor Details
-
JSONSuccessResponse
public JSONSuccessResponse(@Nonnull
JSONObject contentObject)
Deprecated, for removal: This API element is subject to removal in a future version.
Constructor.
- Parameters:
contentObject - JSON content. MUST not be null.
-
JSONSuccessResponse
public JSONSuccessResponse(@Nonnull
JSONObject contentObject,
@Nullable
String cacheControlValue,
@Nullable
String pragmaValue)
Deprecated, for removal: This API element is subject to removal in a future version.
Constructor.
- Parameters:
contentObject - JSON content
cacheControlValue - cache control value
pragmaValue - pragma value
-
Method Details
-
indicatesSuccess
public boolean indicatesSuccess()
Deprecated, for removal: This API element is subject to removal in a future version.
- Specified by:
indicatesSuccess in interface Response
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.
- Overrides:
toString in class Object
-
toHTTPResponse
Deprecated, for removal: This API element is subject to removal in a future version.
- Specified by:
toHTTPResponse in interface Response