|
EAF 7.4 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
public class 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)
relm
- The relm to ask for. This string is used by the browser
in the prompt for username and password. It should identify to the
user which system they are logging in to, i.e. which username
and password to use. For example, if relm is XXX, then Netscape
Navigator will prompt the user with "Enter the username for
XXX at public PageUnauthorizedException(java.lang.String requestedRelm, java.lang.String htmlDisplayText)
relm
- The relm to ask for. This string is used by the browser
in the prompt for username and password. It should identify to the
user which system they are logging in to, i.e. which username
and password to use. For example, if relm is XXX, then Netscape
Navigator will prompt the user with "Enter the username for
XXX at 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.4 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |