org.jboss.resteasy.spi

## Interface ResteasyAsynchronousContext

- All Known Implementing Classes:
    AbstractExecutionContext, SynchronousExecutionContext

      public interface ResteasyAsynchronousContext

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ResteasyAsynchronousResponse` | `getAsyncResponse()`
    `boolean` | `isSuspended()`
    `ResteasyAsynchronousResponse` | `suspend()`
    `ResteasyAsynchronousResponse` | `suspend(long millis)`
    `ResteasyAsynchronousResponse` | `suspend(long time, TimeUnit unit)`

- - ### Method Detail

    - #### isSuspended

          boolean isSuspended()

    - #### getAsyncResponse

          ResteasyAsynchronousResponse getAsyncResponse()

    - #### suspend

          ResteasyAsynchronousResponse suspend()
                                               throws IllegalStateException

      Throws:
        `IllegalStateException`

    - #### suspend

          ResteasyAsynchronousResponse suspend(long millis)
                                               throws IllegalStateException

      Throws:
        `IllegalStateException`

    - #### suspend

          ResteasyAsynchronousResponse suspend(long time,
                                             TimeUnit unit)
                                               throws IllegalStateException

      Throws:
        `IllegalStateException`

Copyright © 2014. All Rights Reserved.