public class MockServletConfig extends ObjectSE implements ServletConfigEE
ServletConfigEE インターフェースのモック実装。| コンストラクターと説明 |
|---|
MockServletConfig() デフォルトの MockServletContext で新しい MockServletConfig を作成します。 |
MockServletConfig(ServletContextEE servletContext) 新しい MockServletConfig を作成します。 |
MockServletConfig(ServletContextEE servletContext, StringSE servletName) 新しい MockServletConfig を作成します。 |
MockServletConfig(StringSE servletName) デフォルトの MockServletContext で新しい MockServletConfig を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | addInitParameter(StringSE name, StringSE value) |
StringSE | getInitParameter(StringSE name) |
EnumerationSE<StringSE> | getInitParameterNames() |
ServletContextEE | getServletContext() |
StringSE | getServletName() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic MockServletConfig()
MockServletContext で新しい MockServletConfig を作成します。public MockServletConfig(StringSE servletName)
MockServletContext で新しい MockServletConfig を作成します。servletName - サーブレットの名前 public MockServletConfig(@Nullable ServletContextEE servletContext)
servletContext - サーブレットが実行される ServletContextpublic MockServletConfig(@Nullable ServletContextEE servletContext, StringSE servletName)
servletContext - サーブレットが実行される ServletContextservletName - サーブレットの名前 public StringSE getServletName()
ServletConfigEE の getServletNameEE public ServletContextEE getServletContext()
ServletConfigEE の getServletContextEE public StringSE getInitParameter(StringSE name)
ServletConfigEE の getInitParameterEE public EnumerationSE<StringSE> getInitParameterNames()
ServletConfigEE の getInitParameterNamesEE