Package fr.becpg.repo.helper
Class AttachmentHelper
java.lang.Object
fr.becpg.repo.helper.AttachmentHelper
AttachmentHelper class.
- Version:
- $Id: $Id
- Author:
- matthieu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Stringprivate static booleanstatic voidsetAttachment(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res, String attachFileName) setAttachment.
-
Field Details
-
HEADER_USER_AGENT
- See Also:
-
-
Constructor Details
-
AttachmentHelper
private AttachmentHelper()
-
-
Method Details
-
setAttachment
public static void setAttachment(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res, String attachFileName) setAttachment.
- Parameters:
req- aWebScriptRequestobject.res- aWebScriptResponseobject.attachFileName- aStringobject.
-
filterNameForQuotedString
-
isValidQuotedStringHeaderParamChar
private static boolean isValidQuotedStringHeaderParamChar(char c)
-