public class AsyncEvent extends Object
Constructor | Description |
---|---|
AsyncEvent(AsyncContext context) |
Constructor.
|
AsyncEvent(AsyncContext context,
Throwable throwable) |
Constructor.
|
AsyncEvent(AsyncContext context,
ServletRequest suppliedRequest,
ServletResponse suppliedResponse) |
Constructor.
|
AsyncEvent(AsyncContext context,
ServletRequest suppliedRequest,
ServletResponse suppliedResponse,
Throwable throwable) |
Constructor
|
Modifier and Type | Method | Description |
---|---|---|
AsyncContext |
getAsyncContext() |
Get the async context.
|
ServletRequest |
getSuppliedRequest() |
Get the supplied request.
|
ServletResponse |
getSuppliedResponse() |
Get the supplied response.
|
Throwable |
getThrowable() |
Get the throwable.
|
public AsyncEvent(AsyncContext context)
context
- the async context.public AsyncEvent(AsyncContext context, ServletRequest suppliedRequest, ServletResponse suppliedResponse)
context
- the async context.suppliedRequest
- the request.suppliedResponse
- the response.public AsyncEvent(AsyncContext context, Throwable throwable)
context
- the async context.throwable
- the throwable.public AsyncEvent(AsyncContext context, ServletRequest suppliedRequest, ServletResponse suppliedResponse, Throwable throwable)
context
- the context.suppliedRequest
- the request.suppliedResponse
- the response.throwable
- the throwable.public AsyncContext getAsyncContext()
public ServletRequest getSuppliedRequest()
public ServletResponse getSuppliedResponse()
public Throwable getThrowable()
Copyright © 2020 Piranha Cloud. All rights reserved.