@@ -0,0 +1,813 @@
+package yushijinhun.authlibagent.web.servlet;%0A%0Aimport javax.servlet.annotation.WebServlet;%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport org.json.JSONObject;%0Aimport yushijinhun.authlibagent.api.web.response.GameProfileResponse;%0Aimport java.util.UUID;%0Aimport static yushijinhun.authlibagent.commons.UUIDUtils.*;%0A%0A@WebServlet(%22/session/profiles/minecraft/*%22)%0Apublic class GameProfileServlet extends YggdrasilGetServlet %7B%0A%0A%09private static final long serialVersionUID = 1L;%0A%0A%09@Override%0A%09protected JSONObject process(HttpServletRequest req) throws Exception %7B%0A%09%09String path = req.getPathTranslated();%0A%09%09if (path == null) %7B%0A%09%09%09return null;%0A%09%09%7D%0A%0A%09%09UUID profileUUID = toUUID(path);%0A%09%09GameProfileResponse profile = backend.lookupProfile(profileUUID);%0A%0A%09%09return serializer.serializeGameProfile(profile, true);%0A%09%7D%0A%0A%7D%0A

add GameProfileServlet