public class DefaultResponseHandler extends Object implements ResponseHandler
Constructor and Description |
---|
DefaultResponseHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleResult(Renderable result,
ResponseFormatter resultFormatter,
RequestContext context,
ResponseContext response)
|
public void handleResult(Renderable result, ResponseFormatter resultFormatter, RequestContext context, ResponseContext response) throws IOException, WebApplicationException
ResponseHandler
handleResult
in interface ResponseHandler
result
- 評価する対象のRenderable
resultFormatter
- 評価する対象のRenderable
をフォーマットするResponseFormatter
context
- RequestContext
response
- ResponseContext
IOException
- Renderable
の評価時にI/Oエラーが発生した場合。WebApplicationException
- Renderable
の評価時に任意の例外が発生した場合。Copyright © 2014 Analog Web Framework Development Team. All Rights Reserved.