|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.security.auth.callback.URLCallback
public class URLCallback
Underlying security services instantiate and pass a
URLCallback
to the invokeCallback
method of a CallbackHandler
to retrieve URL information.
CallbackHandler
Constructor Summary | |
---|---|
URLCallback(String prompt)
Construct a URLCallback with a prompt. |
|
URLCallback(String prompt,
String defaultURL)
Construct a URLCallback with a prompt
and default URL. |
Method Summary | |
---|---|
String |
getdefaultURL()
Get the default URL. |
String |
getPrompt()
Get the prompt. |
String |
getURL()
The retrieved URL. |
void |
setURL(String URL)
Set the value of the URL attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public URLCallback(String prompt)
URLCallback
with a prompt.
prompt
- The prompt used to request the URL.
IllegalArgumentException
- if prompt
is null
or if prompt
has a length of 0.public URLCallback(String prompt, String defaultURL)
URLCallback
with a prompt
and default URL.
prompt
- The prompt used to request the information.defaultURL
- The URL used as the default URL displayed
with the prompt.
IllegalArgumentException
- if prompt
is null,
if prompt
has a length of 0,
if defaultURL
is null,
or if defaultURL
has a length of 0.Method Detail |
---|
public String getPrompt()
public String getdefaultURL()
URLCallback
was not instantiated with a defaultURL
.public void setURL(String URL)
URL
- The retrieved URL (which may be null).URLCallback.getURL()
public String getURL()
|
Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |