Package org.silverpeas.core.web.http
-
Class Summary Class Description FileResponse Centralizing the code which permits to send a file, and if necessary or asked to send it partially.HttpRequest An HTTP request decorating an HTTP servlet request with some additional methods and by changing the implementation of some of its methods to take into account some Silverpeas specificities or needs.PreparedDownload Prepared download means a download in two time.PreparedDownloadServlet RequestFile A file embedded into the body of an HTTP request.RequestParameterDecoder This class decodes the request parameters in order to set them to a simple specified POJO which attributes are annotated byFormParam
orXmlElement
annotation.
It is possible to annotate the attribute withUnescapeHtml
annotation in order to perform an HTML unescape operation (string type only).
WARNINGS: for now, the decoder is not compatible with Inner Classes specified default value onXmlElement
is not yet handledRestFileResponse Centralizing the code which permits to send a file, and if necessary or asked to send it partially.SafeContentRedirect Centralizing the code which permits to redirect safely to any content URL.ServletFileResponse Centralizing the code which permits to send a file, and if necessary or asked to send it partially.ServletSafeContentRedirect Centralizing the code which permits to redirect safely to any content URL from a Servlet. -
Annotation Types Summary Annotation Type Description UnescapeHtml Using this annotation to perform an unescape treatment during the decoding operation.