use of com.codingchili.core.protocol.ResponseStatus in project chili-core by codingchili.
the class ListenerTestCases method handleBody.
protected void handleBody(ResponseListener listener, Buffer body) {
ResponseStatus status = ResponseStatus.valueOf(body.toJsonObject().getString(CoreStrings.PROTOCOL_STATUS));
listener.handle(body.toJsonObject(), status);
}
Aggregations