クラス MockSessionCookieConfig
java.lang.ObjectSE
org.springframework.mock.web.MockSessionCookieConfig
- 実装されているすべてのインターフェース:
jakarta.servlet.SessionCookieConfig
public class MockSessionCookieConfig
extends ObjectSE
implements jakarta.servlet.SessionCookieConfig
SessionCookieConfig インターフェースのモック実装。- 導入:
- 4.0
- 作成者:
- Juergen Hoeller
- 関連事項:
コンストラクターの概要
コンストラクター方法の概要
修飾子と型メソッド説明getAttribute(StringSE name) intgetName()getPath()booleanbooleanisSecure()voidsetAttribute(StringSE name, StringSE value) voidsetComment(@Nullable StringSE comment) voidvoidsetHttpOnly(boolean httpOnly) voidsetMaxAge(int maxAge) voidvoidvoidsetSecure(boolean secure)
コンストラクターの詳細
MockSessionCookieConfig
public MockSessionCookieConfig()
メソッドの詳細
setName
getName
setDomain
getDomain
setPath
getPath
setComment
getComment
setHttpOnly
public void setHttpOnly(boolean httpOnly) - 次で指定:
- インターフェース
jakarta.servlet.SessionCookieConfigのsetHttpOnly
isHttpOnly
public boolean isHttpOnly()- 次で指定:
- インターフェース
jakarta.servlet.SessionCookieConfigのisHttpOnly
setSecure
public void setSecure(boolean secure) - 次で指定:
- インターフェース
jakarta.servlet.SessionCookieConfigのsetSecure
isSecure
public boolean isSecure()- 次で指定:
- インターフェース
jakarta.servlet.SessionCookieConfigのisSecure
setMaxAge
public void setMaxAge(int maxAge) - 次で指定:
- インターフェース
jakarta.servlet.SessionCookieConfigのsetMaxAge
getMaxAge
public int getMaxAge()- 次で指定:
- インターフェース
jakarta.servlet.SessionCookieConfigのgetMaxAge
setAttribute
getAttribute
getAttributes