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 SessionInterface
public final void clear()
SessionInterface
clear
in interface SessionInterface
public final int getBlockSize()
getBlockSize
in interface SessionInterface
public final FileParameterInterface getFileParameter()
getFileParameter
in interface SessionInterface
public final Restart getRestart()
getRestart
in interface SessionInterface
public final String getUniqueExtension()
getUniqueExtension
in interface SessionInterface
public final long getLogid()
public final void setLogid(long logid)
logid
- the logid to setpublic final DirInterface getDir()
getDir
in interface SessionInterface
public 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.