|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.folderlisting.web.FolderListingFileJspBean
public class FolderListingFileJspBean
This class provides methods needed to serve the user a folderlisting file
| Field Summary | |
|---|---|
static int |
FILE_NOT_ALLOWED
|
static int |
FILE_NOT_FOUND
|
| Constructor Summary | |
|---|---|
FolderListingFileJspBean()
Public constructor |
|
| Method Summary | |
|---|---|
boolean |
checkRights(javax.servlet.http.HttpServletRequest request)
Check that the user can view the file requested |
java.lang.String |
getDirectoryPath(javax.servlet.http.HttpServletRequest request)
Get the directory path of the file to display from the request |
byte[] |
getFileContent(javax.servlet.http.HttpServletRequest request)
Get the binary content corresponding to the file to display |
java.lang.String |
getFileErrorUrl(javax.servlet.http.HttpServletRequest request,
int nErrorType)
|
java.lang.String |
getFilename(javax.servlet.http.HttpServletRequest request)
Get the name of the file to display from the request |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int FILE_NOT_FOUND
public static final int FILE_NOT_ALLOWED
| Constructor Detail |
|---|
public FolderListingFileJspBean()
| Method Detail |
|---|
public java.lang.String getDirectoryPath(javax.servlet.http.HttpServletRequest request)
request - the http request
public byte[] getFileContent(javax.servlet.http.HttpServletRequest request)
request - the http request
public java.lang.String getFileErrorUrl(javax.servlet.http.HttpServletRequest request,
int nErrorType)
public java.lang.String getFilename(javax.servlet.http.HttpServletRequest request)
request - the http request
public boolean checkRights(javax.servlet.http.HttpServletRequest request)
request - the http request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||