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 io.netty.handler.codec.http.HttpMethod getMethod()
public void setMethod(io.netty.handler.codec.http.HttpMethod method)
method
- the method to setpublic void setHttpAuth(HttpAuthInterface httpAuth)
httpAuth
- the httpAuth to setpublic HttpAuthInterface getAuth()
getAuth
in interface SessionInterface
public void clear()
SessionInterface
clear
in interface SessionInterface
public int getBlockSize()
getBlockSize
in interface SessionInterface
public FileParameterInterface getFileParameter()
getFileParameter
in interface SessionInterface
public Restart getRestart()
getRestart
in interface SessionInterface
public String getUniqueExtension()
getUniqueExtension
in interface SessionInterface
public long getLogid()
public void setLogid(long logid)
logid
- the logid to setpublic DirInterface getDir()
getDir
in interface SessionInterface
public HttpPage.PageRole getCurrentCommand()
public void setCurrentCommand(HttpPage.PageRole currentCommand)
currentCommand
- the currentCommand to setpublic String getCookieSession()
public void setCookieSession(String cookieSession)
cookieSession
- the cookieSession to setpublic String getFilename()
public void setFilename(String filename)
filename
- the filename to setCopyright © 2009–2020 Waarp. All rights reserved.