
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 - IllegalArgumentExceptionprotected final 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 - IllegalArgumentExceptionpublic void error(Exception e, R66BusinessInterface business) throws IllegalArgumentException
HttpSessionerror in interface HttpSessionIllegalArgumentExceptionprotected final void preTasks(R66BusinessInterface business, DbTaskRunner runner) throws IllegalArgumentException
business - runner - IllegalArgumentExceptionprotected final void startTransfer(DbTaskRunner runner)
runner - protected final void runPostTask()
public final DbTaskRunner getDbTaskRunner()
Copyright © 2009–2022 Waarp. All rights reserved.