public class HttpChallengeTask extends Object implements Task<HttpSecurityWork,Indexed,Indexed>, TaskFactory<HttpSecurityWork,Indexed,Indexed>
Task
and TaskFactory
to challenge the client.Constructor and Description |
---|
HttpChallengeTask() |
Modifier and Type | Method and Description |
---|---|
Task<HttpSecurityWork,Indexed,Indexed> |
createTask(HttpSecurityWork work)
Creates the
Task . |
Object |
doTask(TaskContext<HttpSecurityWork,Indexed,Indexed> context)
Does the task.
|
public Task<HttpSecurityWork,Indexed,Indexed> createTask(HttpSecurityWork work)
TaskFactory
Task
.createTask
in interface TaskFactory<HttpSecurityWork,Indexed,Indexed>
work
- Work
for the Task
.Task
to be done for the Work
.public Object doTask(TaskContext<HttpSecurityWork,Indexed,Indexed> context) throws Throwable
Task
doTask
in interface Task<HttpSecurityWork,Indexed,Indexed>
context
- TaskContext
for the Task
.Task
. This allows stringing
Task
instances together into a JobSequence
.Throwable
- Indicating failure of the Task
.Copyright © 2005–2016. All rights reserved.