return newResponse(request, 500);
}
}
private DefaultMutableHttpResponse doGetHttpResponse(HttpRequest request) {
DefaultMutableHttpResponse httpResponse = newResponse(request, 200);
SessionContext context = new SessionContext(request, httpResponse);
for (Setting setting : settings) {
if (setting.match(request)) {
setting.writeToResponse(context);