public class DirectError extends Message
Modifier and Type | Field and Description |
---|---|
protected static List |
optionalFields |
protected static List |
requiredFields |
_destinationUrl, MODE_CANCEL, MODE_IDRES, MODE_SETUP_NEEDED, OPENID2_NS
Modifier | Constructor and Description |
---|---|
protected |
DirectError(OpenIDException e,
boolean compatibility) |
protected |
DirectError(OpenIDException e,
String msg,
boolean compatibility) |
protected |
DirectError(ParameterList params) |
protected |
DirectError(String msg) |
protected |
DirectError(String msg,
boolean compatibility) |
Modifier and Type | Method and Description |
---|---|
static DirectError |
createDirectError(OpenIDException e) |
static DirectError |
createDirectError(OpenIDException e,
boolean compatibility) |
static DirectError |
createDirectError(OpenIDException e,
String msg,
boolean compatibility) |
static DirectError |
createDirectError(ParameterList params) |
static DirectError |
createDirectError(String msg) |
static DirectError |
createDirectError(String msg,
boolean compatibility) |
String |
getErrorMsg() |
OpenIDException |
getException() |
List |
getRequiredFields() |
boolean |
isVersion2() |
void |
setContact(String contact) |
void |
setErrorMsg(String msg) |
void |
setException(OpenIDException e) |
void |
setReference(String reference) |
addExtension, addExtension, addExtensionFactory, createMessage, createMessage, getDestinationUrl, getExtension, getExtensionAlias, getExtensionFactory, getExtensions, getParameter, getParameterMap, getParameters, getParameterValue, hasExtension, hasExtensionFactory, hasParameter, keyValueFormEncoding, set, validate, wwwFormEncoding
protected static final List requiredFields
protected static final List optionalFields
protected DirectError(String msg)
protected DirectError(String msg, boolean compatibility)
protected DirectError(OpenIDException e, boolean compatibility)
protected DirectError(OpenIDException e, String msg, boolean compatibility)
protected DirectError(ParameterList params)
public static DirectError createDirectError(OpenIDException e)
public static DirectError createDirectError(String msg)
public static DirectError createDirectError(String msg, boolean compatibility)
public static DirectError createDirectError(OpenIDException e, boolean compatibility)
public static DirectError createDirectError(OpenIDException e, String msg, boolean compatibility)
public static DirectError createDirectError(ParameterList params)
public OpenIDException getException()
public void setException(OpenIDException e)
public List getRequiredFields()
getRequiredFields
in class Message
public boolean isVersion2()
public void setErrorMsg(String msg)
public String getErrorMsg()
public void setContact(String contact)
public void setReference(String reference)
Copyright © 2019 Sxip. All rights reserved.