@Override
public void onMessage(final HttpRequest httpRequest, final HttpResponse httpResponse) throws Exception {
// fix the address (to manage multiple connectors)
if (HttpRequestImpl.class.isInstance(httpRequest)) {
final HttpRequestImpl requestImpl = HttpRequestImpl.class.cast(httpRequest);
requestImpl.initPathFromContext(context);
requestImpl.initServletPath(servlet);
}
boolean matchedStatic = false;
if (TRY_STATIC_RESOURCES || (matchedStatic = matchPath(httpRequest))) {
final String pathInfo = httpRequest.getPathInfo();