Uses of Class
org.silverpeas.core.web.http.FileResponse
-
Packages that use FileResponse Package Description org.silverpeas.core.web.http -
-
Uses of FileResponse in org.silverpeas.core.web.http
Subclasses of FileResponse in org.silverpeas.core.web.http Modifier and Type Class Description class
RestFileResponse
Centralizing the code which permits to send a file, and if necessary or asked to send it partially.class
ServletFileResponse
Centralizing the code which permits to send a file, and if necessary or asked to send it partially.Methods in org.silverpeas.core.web.http that return FileResponse Modifier and Type Method Description FileResponse
FileResponse. forceCharacterEncoding(String forcedCharacterEncoding)
Forces the character encoding of the response.FileResponse
FileResponse. forceFileId(String fileId)
Forces the file identifier.
If not forced, the absolute path of the file into Base64 is computed.FileResponse
FileResponse. forceFileName(String fileName)
Forces the file name into the response.
If not forced, the file name is computed from the file itself.
Even if a file name has been forced, if the request contains into headers a valuatedforceFileName
parameter, the file name from the request is taken into account.FileResponse
FileResponse. forceMimeType(String mimeType)
Forces the mime type of the response.
If not forced, the mime type is computed from the file itself.
Even if a mime type has been forced, if the request contains into headers a valuatedforceMimeType
parameter, the mime type from the request is taken into account.FileResponse
FileResponse. noCache()
Sets into response that no cache MUST be handled.
-