
public class HttpSession extends Object implements SessionInterface
| Modifier and Type | Field and Description |
|---|---|
protected CommonDirImpl |
dir |
protected String |
filename |
protected HttpAuthInterface |
httpAuth |
protected long |
logid |
| Constructor and Description |
|---|
HttpSession() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clean the session
|
HttpAuthInterface |
getAuth() |
int |
getBlockSize() |
String |
getCookieSession() |
HttpPage.PageRole |
getCurrentCommand() |
DirInterface |
getDir() |
String |
getFilename() |
FileParameterInterface |
getFileParameter() |
long |
getLogid() |
io.netty.handler.codec.http.HttpMethod |
getMethod() |
Restart |
getRestart() |
String |
getUniqueExtension() |
void |
setCookieSession(String cookieSession) |
void |
setCurrentCommand(HttpPage.PageRole currentCommand) |
void |
setFilename(String filename) |
void |
setHttpAuth(HttpAuthInterface httpAuth) |
void |
setLogid(long logid) |
void |
setMethod(io.netty.handler.codec.http.HttpMethod method) |
String |
toString() |
protected HttpAuthInterface httpAuth
protected long logid
protected CommonDirImpl dir
protected String filename
public final io.netty.handler.codec.http.HttpMethod getMethod()
public final void setMethod(io.netty.handler.codec.http.HttpMethod method)
method - the method to setpublic final void setHttpAuth(HttpAuthInterface httpAuth)
httpAuth - the httpAuth to setpublic final HttpAuthInterface getAuth()
getAuth in interface SessionInterfacepublic final void clear()
SessionInterfaceclear in interface SessionInterfacepublic final int getBlockSize()
getBlockSize in interface SessionInterfacepublic final FileParameterInterface getFileParameter()
getFileParameter in interface SessionInterfacepublic final Restart getRestart()
getRestart in interface SessionInterfacepublic final String getUniqueExtension()
getUniqueExtension in interface SessionInterfacepublic final long getLogid()
public final void setLogid(long logid)
logid - the logid to setpublic final DirInterface getDir()
getDir in interface SessionInterfacepublic final HttpPage.PageRole getCurrentCommand()
public final void setCurrentCommand(HttpPage.PageRole currentCommand)
currentCommand - the currentCommand to setpublic final String getCookieSession()
public final void setCookieSession(String cookieSession)
cookieSession - the cookieSession to setpublic final String getFilename()
public final void setFilename(String filename)
filename - the filename to setCopyright © 2009–2022 Waarp. All rights reserved.