Support access tokens in headers (Fix #65) (#70)

This commit is contained in:
Max Dor
2018-04-02 17:26:03 +02:00
committed by GitHub
parent 91ccb75fa1
commit 5ef145212a
17 changed files with 150 additions and 32 deletions

View File

@@ -2,7 +2,7 @@ package io.kamax.mxisd.exception;
import org.apache.http.HttpStatus;
public class RemoteHomeServerException extends MatrixException {
public class RemoteHomeServerException extends HttpMatrixException {
public RemoteHomeServerException(String error) {
super(HttpStatus.SC_SERVICE_UNAVAILABLE, "M_REMOTE_HS_ERROR", "Error from remote server: " + error);