@Override
public void handle(HttpServletRequest req, HttpServletResponse resp) throws ServletException,
IOException, JsonConversionException, NotFoundException, UnauthorisedException {
String json = getJsonAsString(req, maxJsonQueryLength);
GetRequest request = MessageLibrary.getRequestFromJson(json);
GetResponse response = protocol.get(request);
String jsonresponse = MessageLibrary.toJson(response);
resp.setContentType(MessageLibrary.MIMETYPE_JSON);
resp.setCharacterEncoding(MessageLibrary.CHARSET);