public class StoreResponse extends AxMessage
_parameters, OPENID_NS_AX| Modifier | Constructor and Description |
|---|---|
protected |
StoreResponse()
Constructs a Store Response with an empty parameter list.
|
protected |
StoreResponse(ParameterList params)
Constructs a StoreResponse from a parameter list.
|
| Modifier and Type | Method and Description |
|---|---|
static StoreResponse |
createStoreResponse()
Constructs a Store Response with an empty parameter list.
|
static StoreResponse |
createStoreResponse(ParameterList params)
Constructs a StoreResponse from a parameter list.
|
String |
getErrorDescription()
Gets the status of the Store Response if the 'status' parameter is part
of the response, or null otherwise.
|
boolean |
hasFailed()
Returns true if the Store Response is a failure message, true if it is
a success response.
|
void |
setFailure(String description)
Marks the Store Response as a failure, by setting the appropirate
parameters.
|
getExtension, getParameters, getParameterValue, getTypeUri, providesIdentifier, setParameters, signRequiredprotected StoreResponse()
protected StoreResponse(ParameterList params)
public static StoreResponse createStoreResponse()
public static StoreResponse createStoreResponse(ParameterList params) throws MessageException
MessageExceptionpublic void setFailure(String description)
description - Describes the error condition leading to
the failure responsepublic boolean hasFailed()
public String getErrorDescription()
Copyright © 2015 WSO2. All rights reserved.