パッケージ org.wcardinal.io.polling
クラス PollingEndpointSession
java.lang.Object
org.wcardinal.io.polling.PollingEndpointSession
- すべての実装されたインタフェース:
jakarta.servlet.AsyncListener,EventListener,EndpointSession
public class PollingEndpointSession
extends Object
implements EndpointSession, jakarta.servlet.AsyncListener
-
コンストラクタの概要
コンストラクタコンストラクタ説明PollingEndpointSession(jakarta.servlet.http.HttpServletRequest request, WCardinalConfiguration configuration) -
メソッドの概要
修飾子とタイプメソッド説明voidclose()voidonComplete(jakarta.servlet.AsyncEvent event) voidonError(jakarta.servlet.AsyncEvent event) voidonStartAsync(jakarta.servlet.AsyncEvent event) voidonTimeout(jakarta.servlet.AsyncEvent event) jakarta.servlet.AsyncContexttoAsyncContext(jakarta.servlet.http.HttpServletRequest request, long timeout) tryLock()
-
コンストラクタの詳細
-
PollingEndpointSession
public PollingEndpointSession(jakarta.servlet.http.HttpServletRequest request, WCardinalConfiguration configuration)
-
-
メソッドの詳細
-
toAsyncContext
public jakarta.servlet.AsyncContext toAsyncContext(jakarta.servlet.http.HttpServletRequest request, long timeout) -
close
public void close()- 定義:
closeインタフェース内EndpointSession
-
tryLock
- 定義:
tryLockインタフェース内EndpointSession
-
onComplete
- 定義:
onCompleteインタフェース内jakarta.servlet.AsyncListener- 例外:
IOException
-
onTimeout
- 定義:
onTimeoutインタフェース内jakarta.servlet.AsyncListener- 例外:
IOException
-
onError
- 定義:
onErrorインタフェース内jakarta.servlet.AsyncListener- 例外:
IOException
-
onStartAsync
- 定義:
onStartAsyncインタフェース内jakarta.servlet.AsyncListener- 例外:
IOException
-