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, signRequired
protected StoreResponse()
protected StoreResponse(ParameterList params)
The parameter list can be extracted from a received message with the
getExtensionParams method of the Message class, and MUST NOT contain
the "openid.
public static StoreResponse createStoreResponse()
public static StoreResponse createStoreResponse(ParameterList params) throws MessageException
The parameter list can be extracted from a received message with the
getExtensionParams method of the Message class, and MUST NOT contain
the "openid.
MessageException
public void setFailure(String description)
description
- Describes the error condition leading to
the failure responsepublic boolean hasFailed()
public String getErrorDescription()
Copyright © 2017 Sxip. All rights reserved.