Top Description Methods
org.apache.coyote

public Interface AsyncContextCallback

Known Direct Implementers
org.apache.catalina.core.AsyncContextImpl

Provides a mechanism for the Coyote connectors to communicate with the jakarta.servlet.AsyncContext. It is implemented in this manner so that the org.apache.coyote package does not have a dependency on the org.apache.catalina package.

Method Summary

Modifier and TypeMethod and Description
public void
decrementInProgressAsyncCount()

Used to notify the Context that async processing has ended.

public void
public void
incrementInProgressAsyncCount()

Used to notify the Context that async processing has started.

public boolean

Returns:

true if the associated web application is available, otherwise false
isAvailable
()

Reports if the web application associated with this async request is available.

Method Detail

decrementInProgressAsyncCountback to summary
public void decrementInProgressAsyncCount()

Used to notify the Context that async processing has ended. Specifically, for the counting of in-progress async requests to work correctly, this must be called exactly once every time the AsyncStateMachine transitions to DISPATCHED from any other state.

fireOnCompleteback to summary
public void fireOnComplete()
incrementInProgressAsyncCountback to summary
public void incrementInProgressAsyncCount()

Used to notify the Context that async processing has started. Specifically, for the counting of in-progress async requests to work correctly, this must be called exactly once every time the AsyncStateMachine transitions from DISPATCHED to any other state.

isAvailableback to summary
public boolean isAvailable()

Reports if the web application associated with this async request is available.

Returns:boolean

true if the associated web application is available, otherwise false