Search in sources :

Example 1 with EzyErrorResponse

use of com.tvd12.ezyfoxserver.response.EzyErrorResponse in project ezyfox-server by youngmonkeys.

the class EzyAbstractDataHandler method responseError.

protected void responseError() {
    EzyErrorParams params = new EzyErrorParams();
    params.setError(EzySessionError.MAX_REQUEST_PER_SECOND);
    response(new EzyErrorResponse(params));
}
Also used : EzyErrorParams(com.tvd12.ezyfoxserver.response.EzyErrorParams) EzyErrorResponse(com.tvd12.ezyfoxserver.response.EzyErrorResponse)

Aggregations

EzyErrorParams (com.tvd12.ezyfoxserver.response.EzyErrorParams)1 EzyErrorResponse (com.tvd12.ezyfoxserver.response.EzyErrorResponse)1