woolpack.ee.mock
クラス MockServletRequest

java.lang.Object
  上位を拡張 woolpack.ee.mock.MockServletRequest
すべての実装されたインタフェース:
ServletRequest

public class MockServletRequest
extends Object
implements ServletRequest


コンストラクタの概要
MockServletRequest()
           
 
メソッドの概要
 Object getAttribute(String arg0)
           
 Enumeration getAttributeNames()
           
 String getCharacterEncoding()
           
 int getContentLength()
           
 String getContentType()
           
 ServletInputStream getInputStream()
           
 String getLocalAddr()
           
 Locale getLocale()
           
 Enumeration getLocales()
           
 String getLocalName()
           
 int getLocalPort()
           
 String getParameter(String arg0)
           
 Map getParameterMap()
           
 Enumeration getParameterNames()
           
 String[] getParameterValues(String arg0)
           
 String getProtocol()
           
 BufferedReader getReader()
           
 String getRealPath(String arg0)
           
 String getRemoteAddr()
           
 String getRemoteHost()
           
 int getRemotePort()
           
 RequestDispatcher getRequestDispatcher(String arg0)
           
 String getScheme()
           
 String getServerName()
           
 int getServerPort()
           
 boolean isSecure()
           
 void removeAttribute(String arg0)
           
 void setAttribute(String arg0, Object arg1)
           
 void setCharacterEncoding(String arg0)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MockServletRequest

public MockServletRequest()
メソッドの詳細

getAttribute

public Object getAttribute(String arg0)
定義:
インタフェース ServletRequest 内の getAttribute

getAttributeNames

public Enumeration getAttributeNames()
定義:
インタフェース ServletRequest 内の getAttributeNames

getCharacterEncoding

public String getCharacterEncoding()
定義:
インタフェース ServletRequest 内の getCharacterEncoding

setCharacterEncoding

public void setCharacterEncoding(String arg0)
                          throws UnsupportedEncodingException
定義:
インタフェース ServletRequest 内の setCharacterEncoding
例外:
UnsupportedEncodingException

getContentLength

public int getContentLength()
定義:
インタフェース ServletRequest 内の getContentLength

getContentType

public String getContentType()
定義:
インタフェース ServletRequest 内の getContentType

getInputStream

public ServletInputStream getInputStream()
                                  throws IOException
定義:
インタフェース ServletRequest 内の getInputStream
例外:
IOException

getParameter

public String getParameter(String arg0)
定義:
インタフェース ServletRequest 内の getParameter

getParameterNames

public Enumeration getParameterNames()
定義:
インタフェース ServletRequest 内の getParameterNames

getParameterValues

public String[] getParameterValues(String arg0)
定義:
インタフェース ServletRequest 内の getParameterValues

getParameterMap

public Map getParameterMap()
定義:
インタフェース ServletRequest 内の getParameterMap

getProtocol

public String getProtocol()
定義:
インタフェース ServletRequest 内の getProtocol

getScheme

public String getScheme()
定義:
インタフェース ServletRequest 内の getScheme

getServerName

public String getServerName()
定義:
インタフェース ServletRequest 内の getServerName

getServerPort

public int getServerPort()
定義:
インタフェース ServletRequest 内の getServerPort

getReader

public BufferedReader getReader()
                         throws IOException
定義:
インタフェース ServletRequest 内の getReader
例外:
IOException

getRemoteAddr

public String getRemoteAddr()
定義:
インタフェース ServletRequest 内の getRemoteAddr

getRemoteHost

public String getRemoteHost()
定義:
インタフェース ServletRequest 内の getRemoteHost

setAttribute

public void setAttribute(String arg0,
                         Object arg1)
定義:
インタフェース ServletRequest 内の setAttribute

removeAttribute

public void removeAttribute(String arg0)
定義:
インタフェース ServletRequest 内の removeAttribute

getLocale

public Locale getLocale()
定義:
インタフェース ServletRequest 内の getLocale

getLocales

public Enumeration getLocales()
定義:
インタフェース ServletRequest 内の getLocales

isSecure

public boolean isSecure()
定義:
インタフェース ServletRequest 内の isSecure

getRequestDispatcher

public RequestDispatcher getRequestDispatcher(String arg0)
定義:
インタフェース ServletRequest 内の getRequestDispatcher

getRealPath

public String getRealPath(String arg0)
定義:
インタフェース ServletRequest 内の getRealPath

getRemotePort

public int getRemotePort()
定義:
インタフェース ServletRequest 内の getRemotePort

getLocalName

public String getLocalName()
定義:
インタフェース ServletRequest 内の getLocalName

getLocalAddr

public String getLocalAddr()
定義:
インタフェース ServletRequest 内の getLocalAddr

getLocalPort

public int getLocalPort()
定義:
インタフェース ServletRequest 内の getLocalPort


Copyright (C) 2006-2007 Takahiro Nakamura. All rights reserved.