コンストラクターと説明 |
---|
Cookie() |
修飾子と型 | メソッドと説明 |
---|---|
StringSE | getComment() セッション Cookie のコメントを返します。 |
StringSE | getDomain() セッション Cookie のドメインを返します。 |
BooleanSE | getHttpOnly() セッション Cookie に "HttpOnly" Cookie を使用するかどうかを返します。 |
DurationSE | getMaxAge() セッション Cookie の最大経過時間を返します。 |
StringSE | getName() セッション Cookie 名を返します。 |
StringSE | getPath() セッション Cookie のパスを返します。 |
BooleanSE | getSecure() 常にセッション Cookie をセキュアとしてマークするかどうかを返します。 |
void | setComment(StringSE comment) |
void | setDomain(StringSE domain) |
void | setHttpOnly(BooleanSE httpOnly) |
void | setMaxAge(DurationSE maxAge) |
void | setName(StringSE name) |
void | setPath(StringSE path) |
void | setSecure(BooleanSE secure) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public StringSE getName()
public void setName(StringSE name)
public StringSE getDomain()
public void setDomain(StringSE domain)
public StringSE getPath()
public void setPath(StringSE path)
public StringSE getComment()
public void setComment(StringSE comment)
public BooleanSE getHttpOnly()
true
は、セッション Cookie に "HttpOnly" Cookie を使用します。public void setHttpOnly(BooleanSE httpOnly)
public BooleanSE getSecure()
true
は、対応するセッションを開始したリクエストがプレーン HTTP を使用している場合でも、セッション Cookie をセキュアとしてマークします public void setSecure(BooleanSE secure)
public DurationSE getMaxAge()
public void setMaxAge(DurationSE maxAge)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.