org.openid4java.message
Class DirectError

java.lang.Object
  extended by org.openid4java.message.Message
      extended by org.openid4java.message.DirectError
Direct Known Subclasses:
AssociationError

public class DirectError
extends Message

Author:
Marius Scurtescu, Johnny Bufu

Field Summary
protected static java.util.List optionalFields
           
protected static java.util.List requiredFields
           
 
Fields inherited from class org.openid4java.message.Message
_destinationUrl, MODE_CANCEL, MODE_IDRES, MODE_SETUP_NEEDED, OPENID2_NS
 
Constructor Summary
protected DirectError(OpenIDException e, boolean compatibility)
           
protected DirectError(OpenIDException e, java.lang.String msg, boolean compatibility)
           
protected DirectError(ParameterList params)
           
protected DirectError(java.lang.String msg)
           
protected DirectError(java.lang.String msg, boolean compatibility)
           
 
Method Summary
static DirectError createDirectError(OpenIDException e)
           
static DirectError createDirectError(OpenIDException e, boolean compatibility)
           
static DirectError createDirectError(OpenIDException e, java.lang.String msg, boolean compatibility)
           
static DirectError createDirectError(ParameterList params)
           
static DirectError createDirectError(java.lang.String msg)
           
static DirectError createDirectError(java.lang.String msg, boolean compatibility)
           
 java.lang.String getErrorMsg()
           
 OpenIDException getException()
           
 java.util.List getRequiredFields()
           
 boolean isVersion2()
           
 void setContact(java.lang.String contact)
           
 void setErrorMsg(java.lang.String msg)
           
 void setException(OpenIDException e)
           
 void setReference(java.lang.String reference)
           
 
Methods inherited from class org.openid4java.message.Message
addExtension, addExtensionFactory, createMessage, createMessage, getDestinationUrl, getExtension, getExtensionAlias, getExtensionFactory, getExtensions, getParameter, getParameterMap, getParameters, getParameterValue, hasExtension, hasExtensionFactory, hasParameter, keyValueFormEncoding, set, validate, wwwFormEncoding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

requiredFields

protected static final java.util.List requiredFields

optionalFields

protected static final java.util.List optionalFields
Constructor Detail

DirectError

protected DirectError(java.lang.String msg)

DirectError

protected DirectError(java.lang.String msg,
                      boolean compatibility)

DirectError

protected DirectError(OpenIDException e,
                      boolean compatibility)

DirectError

protected DirectError(OpenIDException e,
                      java.lang.String msg,
                      boolean compatibility)

DirectError

protected DirectError(ParameterList params)
Method Detail

createDirectError

public static DirectError createDirectError(OpenIDException e)

createDirectError

public static DirectError createDirectError(java.lang.String msg)

createDirectError

public static DirectError createDirectError(java.lang.String msg,
                                            boolean compatibility)

createDirectError

public static DirectError createDirectError(OpenIDException e,
                                            boolean compatibility)

createDirectError

public static DirectError createDirectError(OpenIDException e,
                                            java.lang.String msg,
                                            boolean compatibility)

createDirectError

public static DirectError createDirectError(ParameterList params)

getException

public OpenIDException getException()

setException

public void setException(OpenIDException e)

getRequiredFields

public java.util.List getRequiredFields()
Overrides:
getRequiredFields in class Message

isVersion2

public boolean isVersion2()

setErrorMsg

public void setErrorMsg(java.lang.String msg)

getErrorMsg

public java.lang.String getErrorMsg()

setContact

public void setContact(java.lang.String contact)

setReference

public void setReference(java.lang.String reference)


Copyright © 2012 Sxip. All Rights Reserved.