Package org.jboss.as.protocol.mgmt
Interface ManagementRequestContext.MultipleResponseAsyncTask<A>
- All Superinterfaces:
ManagementRequestContext.AsyncTask<A>
- Enclosing interface:
- ManagementRequestContext<A>
@Deprecated
public static interface ManagementRequestContext.MultipleResponseAsyncTask<A>
extends ManagementRequestContext.AsyncTask<A>
Deprecated.
this is a bit of a hack, plus we can move this method into AsyncTask with a default impl
once this module no longer requires JDK 6 source level
ManagementRequestContext.AsyncTask subinterface implemented
by tasks where the appropriate request header to use for notifying a remote process of a
failure varies through the course of the task.-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the current request header for which an error response should be sentMethods inherited from interface org.jboss.as.protocol.mgmt.ManagementRequestContext.AsyncTask
execute
-
Method Details
-
getCurrentRequestHeader
ManagementProtocolHeader getCurrentRequestHeader()Deprecated.Gets the current request header for which an error response should be sent- Returns:
- the header, or
nullif the default header for the request context should be used
-