response.sendError(response.SC_NOT_FOUND);
response.sendError(HttpServletResponse.SC_NOT_FOUND);
	protected void handleConnection(SocketInterface socket) throws IOException, ServletException {		/* Create the servlet request and response objects */		HttpServletResponseImpl response = new HttpServletResponseImpl(socket, http);		HttpServletRequestImpl request = new HttpServletRequestImpl(socket, http, response);		/* After the request and response objects are successfully created,		 * we enter a try/finally block to ensure that the response is		 * always closed.		 */		try {			//Get the URI from socket			String uri = request.getRequestURI();			//Get Registration object associated with the request			Registration registration = getRegistration(uri);			while (registration != null) {				try {					if (registration.getHttpContext().handleSecurity(request, response)) {						//Service Request						registration.service(request, response);					}					return;				} catch (ResourceUnavailableException e) {					uri = reduceURI(uri);					if (uri == null) {						registration = null;					} else {						registration = getRegistration(uri);					}				}			}			if (registration == null) {				if (Http.DEBUG) {					http.logDebug("File " + request.getRequestURI() + //$NON-NLS-1$							" not found -- No Registration object"); //$NON-NLS-1$				}				response.sendError(response.SC_NOT_FOUND);			}		} finally {			response.close(); /* close (and flush) the response output */		}	}