com.isenshi.util
クラス HttpUtils

java.lang.Object
  拡張com.isenshi.util.HttpUtils

public class HttpUtils
extends Object

作成者:
someda

コンストラクタの概要
HttpUtils()
           
 
メソッドの概要
static File downloadFile(URL url)
           
static String getContentDispositionHeaderValue(javax.servlet.http.HttpServletRequest request, String filename)
           
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.
static String getLocalContextPath()
           
 
クラス 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.