## Uses of Interface
javax.ws.rs.container.AsyncResponse

- Packages that use AsyncResponse
  Package | Description
  --- | ---
  javax.ws.rs.container | Container-specific JAX-RS API.
  org.jboss.example.jaxrs2.async |
  org.jboss.resteasy.core |
  org.jboss.resteasy.example.pubsub |
  org.jboss.resteasy.spi |
  org.jboss.resteasy.test.async |
  org.jboss.resteasy.test.async.callback |

- - ### Uses of AsyncResponse in javax.ws.rs.container

    Methods in javax.ws.rs.container with parameters of type AsyncResponse
    Modifier and Type | Method and Description
    --- | ---
    `void` | TimeoutHandler.`handleTimeout(AsyncResponse asyncResponse)` Invoked when the suspended asynchronous response is about to time out.
    `void` | ConnectionCallback.`onDisconnect(AsyncResponse disconnected)` This callback notification method is invoked in case the container detects that the remote client connection associated with the asynchronous response has been disconnected.

  - ### Uses of AsyncResponse in org.jboss.example.jaxrs2.async

    Methods in org.jboss.example.jaxrs2.async with parameters of type AsyncResponse
    Modifier and Type | Method and Description
    --- | ---
    `void` | ChatListener.`listen(AsyncResponse res)`

    Constructor parameters in org.jboss.example.jaxrs2.async with type arguments of type AsyncResponse
    Constructor and Description
    `ChatListener(List<AsyncResponse> listeners)`
    `ChatSpeaker(List<AsyncResponse> listeners)`

  - ### Uses of AsyncResponse in org.jboss.resteasy.core

    Classes in org.jboss.resteasy.core that implement AsyncResponse
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractAsynchronousResponse`
    `protected class` | `SynchronousExecutionContext.SynchronousAsynchronousResponse`

  - ### Uses of AsyncResponse in org.jboss.resteasy.example.pubsub

    Fields in org.jboss.resteasy.example.pubsub declared as AsyncResponse
    Modifier and Type | Field and Description
    --- | ---
    `protected AsyncResponse` | Subscriber.`response`

    Methods in org.jboss.resteasy.example.pubsub with parameters of type AsyncResponse
    Modifier and Type | Method and Description
    --- | ---
    `void` | SubscriptionResource.`longPoll(String name, AsyncResponse response)`
    `void` | Subscriber.`poll(AsyncResponse response)`

  - ### Uses of AsyncResponse in org.jboss.resteasy.spi

    Subinterfaces of AsyncResponse in org.jboss.resteasy.spi
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ResteasyAsynchronousResponse`

  - ### Uses of AsyncResponse in org.jboss.resteasy.test.async

    Methods in org.jboss.resteasy.test.async that return AsyncResponse
    Modifier and Type | Method and Description
    --- | ---
    `protected static AsyncResponse` | Resource.`takeAsyncResponse(int stageId)`
    `protected static AsyncResponse` | Resource.`takeAsyncResponse(String stageId)`

    Methods in org.jboss.resteasy.test.async with parameters of type AsyncResponse
    Modifier and Type | Method and Description
    --- | ---
    `protected static void` | Resource.`addResponse(AsyncResponse response, String stageId)`
    `void` | JaxrsResource.`cancel(AsyncResponse response)`
    `void` | JaxrsResource.`get(AsyncResponse response)`
    `void` | MyTimeoutHandler.`handleTimeout(AsyncResponse asyncResponse)`
    `void` | JaxrsResource.`injectionFailure(AsyncResponse response)`
    `void` | JaxrsResource.`injectionFailure(AsyncResponse response, int id)`
    `protected static boolean` | Resource.`resume(AsyncResponse takenResponse, Object response)`
    `void` | JaxrsResource.`resumeObject(AsyncResponse response)`
    `void` | JaxrsResource.`resumeObjectThread(AsyncResponse response)`
    `void` | Resource.`suspend(AsyncResponse asyncResponse)`
    `void` | JaxrsResource.`timeout(AsyncResponse response)`

  - ### Uses of AsyncResponse in org.jboss.resteasy.test.async.callback

    Methods in org.jboss.resteasy.test.async.callback that return AsyncResponse
    Modifier and Type | Method and Description
    --- | ---
    `protected static AsyncResponse` | Resource.`takeAsyncResponse(int stageId)`
    `protected static AsyncResponse` | Resource.`takeAsyncResponse(String stageId)`

    Methods in org.jboss.resteasy.test.async.callback with parameters of type AsyncResponse
    Modifier and Type | Method and Description
    --- | ---
    `protected static void` | Resource.`addResponse(AsyncResponse response, String stageId)`
    `void` | MyTimeoutHandler.`handleTimeout(AsyncResponse asyncResponse)`
    `protected static boolean` | Resource.`resume(AsyncResponse takenResponse, Object response)`
    `void` | Resource.`suspend(AsyncResponse asyncResponse)`

Copyright © 2014. All Rights Reserved.