クラス 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
関連事項:
  • ServletContext.getSessionCookieConfig()
  • コンストラクターの詳細

    • MockSessionCookieConfig

      public MockSessionCookieConfig()
  • メソッドの詳細

    • setName

      public void setName(@Nullable StringSE name)
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfigsetName 
    • getName

      public @Nullable StringSE getName()
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfiggetName 
    • setDomain

      public void setDomain(@Nullable StringSE domain)
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfigsetDomain 
    • getDomain

      public @Nullable StringSE getDomain()
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfiggetDomain 
    • setPath

      public void setPath(@Nullable StringSE path)
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfigsetPath 
    • getPath

      public @Nullable StringSE getPath()
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfiggetPath 
    • setComment

      public void setComment(@Nullable StringSE comment)
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfigsetComment 
    • getComment

      public @Nullable StringSE getComment()
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfiggetComment 
    • setHttpOnly

      public void setHttpOnly(boolean httpOnly)
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfigsetHttpOnly 
    • isHttpOnly

      public boolean isHttpOnly()
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfigisHttpOnly 
    • setSecure

      public void setSecure(boolean secure)
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfigsetSecure 
    • isSecure

      public boolean isSecure()
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfigisSecure 
    • setMaxAge

      public void setMaxAge(int maxAge)
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfigsetMaxAge 
    • getMaxAge

      public int getMaxAge()
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfiggetMaxAge 
    • setAttribute

      public void setAttribute(StringSE name, StringSE value)
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfigsetAttribute 
    • getAttribute

      public @Nullable StringSE getAttribute(StringSE name)
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfiggetAttribute 
    • getAttributes

      public MapSE<StringSE,StringSE> getAttributes()
      次で指定:
      インターフェース jakarta.servlet.SessionCookieConfiggetAttributes