public class HttpFileFactoryTask<F extends Enum<F>> extends AbstractSingleTask<HttpFileFactoryTask<F>,HttpFileFactoryTask.DependencyKeys,F>
Modifier and Type | Class and Description |
---|---|
static class |
HttpFileFactoryTask.DependencyKeys
Dependency keys for the
HttpFileFactoryTask . |
Constructor and Description |
---|
HttpFileFactoryTask(HttpResourceFactory httpResourceFactory,
HttpResourceCreationListener<F> httpFileCreationListener)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
Object |
doTask(TaskContext<HttpFileFactoryTask<F>,HttpFileFactoryTask.DependencyKeys,F> context)
Does the task.
|
createTask, createWork, getRecycleManagedObjectParameter, registerAsRecycleTask, registerTask, registerTask, registerTask, registerWork
public HttpFileFactoryTask(HttpResourceFactory httpResourceFactory, HttpResourceCreationListener<F> httpFileCreationListener)
httpResourceFactory
- HttpResourceFactory
.httpFileCreationListener
- HttpResourceCreationListener
.public Object doTask(TaskContext<HttpFileFactoryTask<F>,HttpFileFactoryTask.DependencyKeys,F> context) throws IOException, InvalidHttpRequestUriException
Task
context
- TaskContext
for the Task
.Task
. This allows stringing
Task
instances together into a JobSequence
.IOException
InvalidHttpRequestUriException
Copyright © 2005–2016. All rights reserved.