use of com.tvd12.ezyfoxserver.response.EzyRequestAppErrorResponse in project ezyfox-server by youngmonkeys.
the class EzyRequestAppErrorResponseTest method test.
@Test
public void test() {
EzyErrorParams params = new EzyErrorParams();
params.setError(EzyRequestAppError.HAS_NOT_ACCESSED);
EzyRequestAppErrorResponse response = new EzyRequestAppErrorResponse(params);
assert response.getCommand() == EzyCommand.APP_REQUEST_ERROR;
assert response.getParams() == params;
response.release();
}
use of com.tvd12.ezyfoxserver.response.EzyRequestAppErrorResponse in project ezyfox-server by youngmonkeys.
the class EzyRequestAppController method newRequestAppErrorResponse.
protected EzyResponse newRequestAppErrorResponse() {
EzyErrorParams params = new EzyErrorParams();
params.setError(EzyRequestAppError.HAS_NOT_ACCESSED);
return new EzyRequestAppErrorResponse(params);
}
Aggregations