} else if (exchange.getRequest().getMethod().equals(IHttpMessage.DELETE_METHOD)) {
exchange.send(new HttpResponse(200, "text/plain", "deleted"));
} else if (exchange.getRequest().getMethod().equals(IHttpMessage.OPTIONS_METHOD)) {
HttpResponse response = new HttpResponse(200);
response.addHeader("Allow", "GET,POST");
exchange.send(response);
}
}
}