public class ChallengeCallbackHandler extends Object implements CallbackHandler
| Constructor and Description |
|---|
ChallengeCallbackHandler(Request request,
Response response)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Request |
getRequest()
Returns the handled request.
|
Response |
getResponse()
Returns the handled response.
|
protected void |
handle(Callback callback)
Handles a callback.
|
void |
handle(Callback[] callbacks)
Handles the callbacks.
|
void |
setRequest(Request request)
Sets the handled request.
|
void |
setResponse(Response response)
Sets the handled response.
|
public Request getRequest()
public Response getResponse()
protected void handle(Callback callback) throws UnsupportedCallbackException
NameCallback instances
and the secret on PasswordCallback.callback - The callback to handle.UnsupportedCallbackExceptionpublic void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle(Callback) method.handle in interface CallbackHandlercallbacks - The callbacks to handle.IOExceptionUnsupportedCallbackExceptionpublic void setRequest(Request request)
request - The handled request.public void setResponse(Response response)
response - The handled response.Copyright © 2005–2015. All rights reserved.