@@ -0,0 +1,1285 @@
+/*%0A * mxisd - Matrix Identity Server Daemon%0A * Copyright (C) 2018 Maxime Dor%0A *%0A * https://www.kamax.io/%0A *%0A * This program is free software: you can redistribute it and/or modify%0A * it under the terms of the GNU Affero General Public License as%0A * published by the Free Software Foundation, either version 3 of the%0A * License, or (at your option) any later version.%0A *%0A * This program is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A * GNU Affero General Public License for more details.%0A *%0A * You should have received a copy of the GNU Affero General Public License%0A * along with this program.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A */%0A%0Apackage io.kamax.mxisd.controller;%0A%0Aimport org.springframework.http.MediaType;%0Aimport org.springframework.web.bind.annotation.CrossOrigin;%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0Aimport org.springframework.web.bind.annotation.RestController;%0A%0A@RestController%0A@CrossOrigin%0A@RequestMapping(produces = MediaType.APPLICATION_JSON_UTF8_VALUE)%0Apublic class PingController %7B%0A%0A    @RequestMapping(value = %22/_matrix/identity/api/v1%22)%0A    public String ping() %7B%0A        return %22%7B%7D%22;%0A    %7D%0A%0A%7D%0A

Prepare for kamax-io/matrix-java-sdk#23