org.seasar.framework.mock.servlet
クラス MockServletContextImpl
java.lang.Object
   org.seasar.framework.mock.servlet.MockServletContextImpl
org.seasar.framework.mock.servlet.MockServletContextImpl
- すべての実装インタフェース: 
- MockServletContext, Serializable, ServletContext
- public class MockServletContextImpl- extends Object- implements MockServletContext, Serializable
- 作成者:
- higa, manhole
- 関連項目:
- 直列化された形式
 
 
 
| クラス java.lang.Object から継承したメソッド | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
MAJOR_VERSION
public static final int MAJOR_VERSION
- 関連項目:
- 定数フィールド値
MINOR_VERSION
public static final int MINOR_VERSION
- 関連項目:
- 定数フィールド値
SERVER_INFO
public static final String SERVER_INFO
- 関連項目:
- 定数フィールド値
MockServletContextImpl
public MockServletContextImpl(String path)
getContext
public ServletContext getContext(String path)
- 
- 定義:
- インタフェース ServletContext内のgetContext
 
- 
- 関連項目:
- ServletContext.getContext(java.lang.String)
 
getMajorVersion
public int getMajorVersion()
- 
- 定義:
- インタフェース ServletContext内のgetMajorVersion
 
- 
- 関連項目:
- ServletContext.getMajorVersion()
 
getMinorVersion
public int getMinorVersion()
- 
- 定義:
- インタフェース ServletContext内のgetMinorVersion
 
- 
- 関連項目:
- ServletContext.getMinorVersion()
 
getMimeType
public String getMimeType(String file)
- 
- 定義:
- インタフェース ServletContext内のgetMimeType
 
- 
- 関連項目:
- ServletContext.getMimeType(java.lang.String)
 
addMimeType
public void addMimeType(String file,
                        String type)
- 
- 定義:
- インタフェース MockServletContext内のaddMimeType
 
- 
 
getResourcePaths
public Set getResourcePaths(String path)
- 
- 定義:
- インタフェース ServletContext内のgetResourcePaths
 
- 
- 関連項目:
- ServletContext.getResourcePaths(java.lang.String)
 
getResource
public URL getResource(String path)
                throws MalformedURLException
- 
- 定義:
- インタフェース ServletContext内のgetResource
 
- 
- 例外: 
- MalformedURLException
- 関連項目:
- ServletContext.getResource(java.lang.String)
 
getResourceAsStream
public InputStream getResourceAsStream(String path)
- 
- 定義:
- インタフェース ServletContext内のgetResourceAsStream
 
- 
- 関連項目:
- ServletContext.getResourceAsStream(java.lang.String)
 
adjustPath
protected String adjustPath(String path)
- 
 
- 
 
getRequestDispatcher
public RequestDispatcher getRequestDispatcher(String path)
- 
- 定義:
- インタフェース ServletContext内のgetRequestDispatcher
 
- 
- 関連項目:
- ServletContext.getRequestDispatcher(java.lang.String)
 
getNamedDispatcher
public RequestDispatcher getNamedDispatcher(String name)
- 
- 定義:
- インタフェース ServletContext内のgetNamedDispatcher
 
- 
- 関連項目:
- ServletContext.getNamedDispatcher(java.lang.String)
 
getServlet
public Servlet getServlet(String name)
                   throws ServletException
- 推奨されていません。  
 
- 
- 定義:
- インタフェース ServletContext内のgetServlet
 
- 
- 例外: 
- ServletException
- 関連項目:
- ServletContext.getServlet(java.lang.String)
 
getServlets
public Enumeration getServlets()
- 推奨されていません。  
 
- 
- 定義:
- インタフェース ServletContext内のgetServlets
 
- 
- 関連項目:
- ServletContext.getServlets()
 
getServletNames
public Enumeration getServletNames()
- 推奨されていません。  
 
- 
- 定義:
- インタフェース ServletContext内のgetServletNames
 
- 
- 関連項目:
- ServletContext.getServletNames()
 
log
public void log(String message)
- 
- 定義:
- インタフェース ServletContext内のlog
 
- 
- 関連項目:
- ServletContext.log(java.lang.String)
 
log
public void log(Exception ex,
                String message)
- 推奨されていません。  
 
- 
- 定義:
- インタフェース ServletContext内のlog
 
- 
- 関連項目:
- ServletContext.log(java.lang.Exception,
      java.lang.String)
 
log
public void log(String message,
                Throwable t)
- 
- 定義:
- インタフェース ServletContext内のlog
 
- 
- 関連項目:
- ServletContext.log(java.lang.String,
      java.lang.Throwable)
 
getRealPath
public String getRealPath(String path)
- 
- 定義:
- インタフェース ServletContext内のgetRealPath
 
- 
- 関連項目:
- ServletContext.getRealPath(java.lang.String)
 
getServerInfo
public String getServerInfo()
- 
- 定義:
- インタフェース ServletContext内のgetServerInfo
 
- 
- 関連項目:
- ServletContext.getServerInfo()
 
getInitParameter
public String getInitParameter(String name)
- 
- 定義:
- インタフェース ServletContext内のgetInitParameter
 
- 
- 関連項目:
- ServletContext.getInitParameter(java.lang.String)
 
getInitParameterNames
public Enumeration getInitParameterNames()
- 
- 定義:
- インタフェース ServletContext内のgetInitParameterNames
 
- 
- 関連項目:
- ServletContext.getInitParameterNames()
 
setInitParameter
public void setInitParameter(String name,
                             String value)
- 
- 定義:
- インタフェース MockServletContext内のsetInitParameter
 
- 
 
getAttribute
public Object getAttribute(String name)
- 
- 定義:
- インタフェース ServletContext内のgetAttribute
 
- 
- 関連項目:
- ServletContext.getAttribute(java.lang.String)
 
getAttributeNames
public Enumeration getAttributeNames()
- 
- 定義:
- インタフェース ServletContext内のgetAttributeNames
 
- 
- 関連項目:
- ServletContext.getAttributeNames()
 
setAttribute
public void setAttribute(String name,
                         Object value)
- 
- 定義:
- インタフェース ServletContext内のsetAttribute
 
- 
- 関連項目:
- ServletContext.setAttribute(java.lang.String,
      java.lang.Object)
 
removeAttribute
public void removeAttribute(String name)
- 
- 定義:
- インタフェース ServletContext内のremoveAttribute
 
- 
- 関連項目:
- ServletContext.removeAttribute(java.lang.String)
 
getServletContextName
public String getServletContextName()
- 
- 定義:
- インタフェース ServletContext内のgetServletContextName
 
- 
- 関連項目:
- ServletContext.getServletContextName()
 
setServletContextName
public void setServletContextName(String servletContextName)
- 
- 定義:
- インタフェース MockServletContext内のsetServletContextName
 
- 
 
createRequest
public MockHttpServletRequest createRequest(String path)
- 
- 定義:
- インタフェース MockServletContext内のcreateRequest
 
- 
 
getInitParameterMap
public Map getInitParameterMap()
- 
- 定義:
- インタフェース MockServletContext内のgetInitParameterMap
 
- 
 
Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.