private void buildResponse() throws IOException {

		switch (request.getMethod()) {
		case "GET":
		case "POST":
			Helper.buildGETorPostResponse(request, response);
			break;
		case "OPTIONS":
			buildOPTIONSResponse();
			break;
		case "HEAD":
			buildHEADResponse();
			break;
		case "TRACE":
			buildTRACEResponse();
			break;

		default:
			this.response.setNotImplemented(request.GetHttpVer());
			break;
		}

	}