public enum TransportType extends EnumSE<TransportType>
列挙型定数と説明 |
---|
EVENT_SOURCE |
HTML_FILE |
WEBSOCKET |
XHR |
XHR_SEND |
XHR_STREAMING |
修飾子と型 | メソッドと説明 |
---|---|
static TransportType | fromValue(StringSE value) |
HttpMethod | getHttpMethod() |
boolean | sendsNoCacheInstruction() |
boolean | sendsSessionCookie() |
boolean | supportsCors() |
boolean | supportsOrigin() |
StringSE | toString() |
StringSE | value() |
static TransportType | valueOf(StringSE name) 指定された名前を持つこのタイプの列挙定数を返します。 |
static TransportType[] | values() この列挙型の定数を含む配列を、宣言されている順序で返します。 |
cloneSE, compareToSE, equalsSE, finalizeSE, getDeclaringClassSE, hashCodeSE, nameSE, ordinalSE, valueOfSE
getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public static final TransportType WEBSOCKET
public static final TransportType XHR
public static final TransportType XHR_SEND
public static final TransportType XHR_STREAMING
public static final TransportType EVENT_SOURCE
public static final TransportType HTML_FILE
public static TransportType[] values()
for (TransportType c : TransportType.values()) System.out.println(c);
public static TransportType valueOf(StringSE name)
name
- 返される列挙定数の名前。 IllegalArgumentExceptionSE
- この列挙型に指定された名前の定数がない場合 NullPointerExceptionSE
- 引数が null の場合 @Nullable public static TransportType fromValue(StringSE value)
public StringSE value()
public HttpMethod getHttpMethod()
public boolean sendsNoCacheInstruction()
public boolean sendsSessionCookie()
public boolean supportsCors()
public boolean supportsOrigin()
public StringSE toString()
EnumSE<TransportType>
の toStringSE