protected AbstractOutputBuffer(Response response, int headerBufferSize) { this.response = response; headerBuffer = new byte[headerBufferSize]; filterLibrary = new OutputFilter[0]; activeFilters = new OutputFilter[0]; lastActiveFilter = -1; committed = false; finished = false; // Cause loading of HttpMessages HttpMessages.getInstance(response.getLocale()).getMessage(200); }
write(HttpMessages.getInstance( response.getLocale()).getMessage(status)); } else {
message = HttpMessages.getInstance( response.getLocale()).getMessage(response.getStatus());
message = HttpMessages.getInstance( response.getLocale()).getMessage(response.getStatus());
message = HttpMessages.getInstance( response.getLocale()).getMessage(response.getStatus());