|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.framework.mock.portlet.MockPortletContextImpl
MockPortletContext
の実装クラスです。
フィールドの概要 | |
static int |
MAJOR_VERSION
MAJORバージョン |
static int |
MINOR_VERSION
MINORバージョン |
static String |
SERVER_INFO
SERVER情報 |
コンストラクタの概要 | |
MockPortletContextImpl(String path)
MockPortletContextImpl を作成します。 |
メソッドの概要 | |
void |
addMimeType(String file,
String type)
mimeタイプを追加します。 |
protected String |
adjustPath(String path)
パスを調整します。 |
MockPortletRequestImpl |
createRequest()
リクエストを作成します。 |
Object |
getAttribute(String name)
|
Enumeration |
getAttributeNames()
|
String |
getInitParameter(String name)
|
Enumeration |
getInitParameterNames()
|
int |
getMajorVersion()
|
String |
getMimeType(String file)
|
int |
getMinorVersion()
|
javax.portlet.PortletRequestDispatcher |
getNamedDispatcher(String arg0)
|
String |
getPortletContextName()
|
String |
getRealPath(String path)
|
javax.portlet.PortletRequestDispatcher |
getRequestDispatcher(String arg0)
|
URL |
getResource(String path)
|
InputStream |
getResourceAsStream(String path)
|
Set |
getResourcePaths(String path)
|
String |
getServerInfo()
|
void |
log(String message)
|
void |
log(String message,
Throwable ex)
|
void |
removeAttribute(String name)
|
void |
setAttribute(String name,
Object value)
|
void |
setInitParameter(String name,
String value)
初期化パラメータを設定します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public static final int MAJOR_VERSION
public static final int MINOR_VERSION
public static final String SERVER_INFO
コンストラクタの詳細 |
public MockPortletContextImpl(String path)
MockPortletContextImpl
を作成します。
path
- メソッドの詳細 |
public Object getAttribute(String name)
javax.portlet.PortletContext
内の getAttribute
public Enumeration getAttributeNames()
javax.portlet.PortletContext
内の getAttributeNames
public String getInitParameter(String name)
javax.portlet.PortletContext
内の getInitParameter
public Enumeration getInitParameterNames()
javax.portlet.PortletContext
内の getInitParameterNames
public int getMajorVersion()
javax.portlet.PortletContext
内の getMajorVersion
public String getMimeType(String file)
javax.portlet.PortletContext
内の getMimeType
public int getMinorVersion()
javax.portlet.PortletContext
内の getMinorVersion
public javax.portlet.PortletRequestDispatcher getNamedDispatcher(String arg0)
javax.portlet.PortletContext
内の getNamedDispatcher
public String getPortletContextName()
javax.portlet.PortletContext
内の getPortletContextName
public String getRealPath(String path)
javax.portlet.PortletContext
内の getRealPath
public javax.portlet.PortletRequestDispatcher getRequestDispatcher(String arg0)
javax.portlet.PortletContext
内の getRequestDispatcher
public URL getResource(String path) throws MalformedURLException
javax.portlet.PortletContext
内の getResource
MalformedURLException
public InputStream getResourceAsStream(String path)
javax.portlet.PortletContext
内の getResourceAsStream
public Set getResourcePaths(String path)
javax.portlet.PortletContext
内の getResourcePaths
public String getServerInfo()
javax.portlet.PortletContext
内の getServerInfo
public void log(String message, Throwable ex)
javax.portlet.PortletContext
内の log
public void log(String message)
javax.portlet.PortletContext
内の log
public void removeAttribute(String name)
javax.portlet.PortletContext
内の removeAttribute
public void setAttribute(String name, Object value)
javax.portlet.PortletContext
内の setAttribute
public void setInitParameter(String name, String value)
MockPortletContext
の記述:
MockPortletContext
内の setInitParameter
name
- value
- public void addMimeType(String file, String type)
MockPortletContext
の記述:
MockPortletContext
内の addMimeType
file
- type
- protected String adjustPath(String path)
path
- パス
public MockPortletRequestImpl createRequest()
MockPortletContext
の記述:
MockPortletContext
内の createRequest
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |