woolpack.ee.mock
クラス MockServletContext

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

public class MockServletContext
extends Object
implements ServletContext


コンストラクタの概要
MockServletContext()
           
 
メソッドの概要
 Object getAttribute(String arg0)
           
 Enumeration getAttributeNames()
           
 ServletContext getContext(String arg0)
           
 String getInitParameter(String arg0)
           
 Enumeration getInitParameterNames()
           
 int getMajorVersion()
           
 String getMimeType(String arg0)
           
 int getMinorVersion()
           
 RequestDispatcher getNamedDispatcher(String arg0)
           
 String getRealPath(String arg0)
           
 RequestDispatcher getRequestDispatcher(String arg0)
           
 URL getResource(String arg0)
           
 InputStream getResourceAsStream(String arg0)
           
 Set getResourcePaths(String arg0)
           
 String getServerInfo()
           
 Servlet getServlet(String arg0)
           
 String getServletContextName()
           
 Enumeration getServletNames()
           
 Enumeration getServlets()
           
 void log(Exception arg0, String arg1)
           
 void log(String arg0)
           
 void log(String arg0, Throwable arg1)
           
 void removeAttribute(String arg0)
           
 void setAttribute(String arg0, Object arg1)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MockServletContext

public MockServletContext()
メソッドの詳細

getContext

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

getMajorVersion

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

getMinorVersion

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

getMimeType

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

getResourcePaths

public Set getResourcePaths(String arg0)
定義:
インタフェース ServletContext 内の getResourcePaths

getResource

public URL getResource(String arg0)
                throws MalformedURLException
定義:
インタフェース ServletContext 内の getResource
例外:
MalformedURLException

getResourceAsStream

public InputStream getResourceAsStream(String arg0)
定義:
インタフェース ServletContext 内の getResourceAsStream

getRequestDispatcher

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

getNamedDispatcher

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

getServlet

public Servlet getServlet(String arg0)
                   throws ServletException
定義:
インタフェース ServletContext 内の getServlet
例外:
ServletException

getServlets

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

getServletNames

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

log

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

log

public void log(Exception arg0,
                String arg1)
定義:
インタフェース ServletContext 内の log

log

public void log(String arg0,
                Throwable arg1)
定義:
インタフェース ServletContext 内の log

getRealPath

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

getServerInfo

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

getInitParameter

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

getInitParameterNames

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

getAttribute

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

getAttributeNames

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

setAttribute

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

removeAttribute

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

getServletContextName

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


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