com.isenshi.util
クラス HttpUtils
java.lang.Object
com.isenshi.util.HttpUtils
- public class HttpUtils
- extends Object
- 作成者:
- someda
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpUtils
public HttpUtils()
getContentDispositionHeaderValue
public static String getContentDispositionHeaderValue(javax.servlet.http.HttpServletRequest request,
String filename,
String extension)
- The filename in specified in content-dispostion, is not allowed to
use multibyte character, and should follows RFC2231 style.
also IE has the following problem,
http://support.microsoft.com/default.aspx?scid=kb;ja;436616
- 関連項目:
- RFC2231 MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations
getContentDispositionHeaderValue
public static String getContentDispositionHeaderValue(javax.servlet.http.HttpServletRequest request,
String filename)
getLocalContextPath
public static String getLocalContextPath()
downloadFile
public static File downloadFile(URL url)
throws IOException
- 例外:
IOException
Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.