public class HttpSessionAbstract extends Object implements HttpSession
Modifier and Type | Field and Description |
---|---|
protected HttpAuthent |
authent |
protected R66Session |
session |
Constructor and Description |
---|
HttpSessionAbstract(HttpAuthent authent) |
Modifier and Type | Method and Description |
---|---|
protected R66BusinessInterface |
checkAuthentR66Business(HttpSession httpSession,
R66Session session,
HttpAuthent authent)
Method to check authentication
|
void |
error(Exception e,
R66BusinessInterface business)
For any error
|
DbTaskRunner |
getDbTaskRunner() |
protected DbTaskRunner |
getDbTaskRunner(String user,
String filename,
String rulename,
long identifier,
String comment,
int chunkSize,
R66BusinessInterface business,
boolean uploadMode)
Initialize the DbTaskRunner for this user and rulename
|
protected void |
preTasks(R66BusinessInterface business,
DbTaskRunner runner)
Runs pre tasks
|
protected void |
runPostTask()
Run post tasks on finished transfer
|
protected void |
startTransfer(DbTaskRunner runner)
Set the transfer to be starting
|
protected final R66Session session
protected final HttpAuthent authent
public HttpSessionAbstract(HttpAuthent authent)
protected R66BusinessInterface checkAuthentR66Business(HttpSession httpSession, R66Session session, HttpAuthent authent) throws IllegalArgumentException
httpSession
- session
- authent
- IllegalArgumentException
protected DbTaskRunner getDbTaskRunner(String user, String filename, String rulename, long identifier, String comment, int chunkSize, R66BusinessInterface business, boolean uploadMode) throws IllegalArgumentException
user
- filename
- rulename
- identifier
- comment
- chunkSize
- business
- uploadMode
- IllegalArgumentException
public void error(Exception e, R66BusinessInterface business) throws IllegalArgumentException
HttpSession
error
in interface HttpSession
IllegalArgumentException
protected void preTasks(R66BusinessInterface business, DbTaskRunner runner) throws IllegalArgumentException
business
- runner
- IllegalArgumentException
protected void startTransfer(DbTaskRunner runner)
runner
- protected void runPostTask()
public DbTaskRunner getDbTaskRunner()
Copyright © 2009–2020 Waarp. All rights reserved.