|
EAF 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.lutris.appserver.server.httpPresentation.PageUnauthorizedException
Throwing this class will cause a 401 Unauthorized response.
com.lutris.http.BasicAuth
,
Serialized FormConstructor Summary | |
PageUnauthorizedException(java.lang.String requestedRelm)
Create a new unauthorized exception. |
|
PageUnauthorizedException(java.lang.String requestedRelm,
java.lang.String htmlDisplayText)
Create a new unauthorized exception. |
Method Summary | |
java.lang.String |
getHtmlText()
Get the text to display in the client. |
java.lang.String |
getHtmlTitle()
Get the title to use for the HTML page. |
java.lang.String |
getRelm()
Get the relm that was passed in to the constructor. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PageUnauthorizedException(java.lang.String requestedRelm)
public PageUnauthorizedException(java.lang.String requestedRelm, java.lang.String htmlDisplayText)
htmlDisplayText
- Text to display on the page. If null,
a default will be used.Method Detail |
public java.lang.String getRelm()
public java.lang.String getHtmlTitle()
public java.lang.String getHtmlText()
|
EAF 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |