public boolean process(JsRequest jsRequest, JsResponseBuilder builder) throws JsException { builder.setStatusCode(HttpServletResponse.SC_NOT_FOUND); builder.addError("Something bad happened"); return false; }}; JsProcessorRegistry jsProcessorRegistry = new DefaultJsProcessorRegistry(ImmutableList.<JsProcessor> of(),
public boolean process(JsRequest jsRequest, JsResponseBuilder builder) throws JsException { builder.setStatusCode(HttpServletResponse.SC_NOT_FOUND); builder.addError("Something bad happened"); return false; }}; JsProcessorRegistry jsProcessorRegistry = new DefaultJsProcessorRegistry(ImmutableList.<JsProcessor> of(),