public class HttpErrorComponentEventResultProcessor extends Object implements ComponentEventResultProcessor<HttpError>
HttpError
by invoking Response.sendError(int, String)
.Constructor and Description |
---|
HttpErrorComponentEventResultProcessor(Response response) |
Modifier and Type | Method and Description |
---|---|
void |
processResultValue(HttpError value)
For a given, non-null return value from a component event method, construct and send a response.
|
public HttpErrorComponentEventResultProcessor(Response response)
public void processResultValue(HttpError value) throws IOException
ComponentEventResultProcessor
processResultValue
in interface ComponentEventResultProcessor<HttpError>
value
- the value returned from a methodIOException
Copyright © 2003-2012 The Apache Software Foundation.