com.nhl.link.rest.client.runtime.response.SimpleResponseHandler Maven / Gradle / Ivy
package com.nhl.link.rest.client.runtime.response;
import com.fasterxml.jackson.core.JsonFactory;
import com.nhl.link.rest.client.ClientSimpleResponse;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
/**
* @since 2.0
*/
public class SimpleResponseHandler extends BaseResponseHandler {
public SimpleResponseHandler(JsonFactory jsonFactory) {
super(jsonFactory);
}
@Override
protected ClientSimpleResponse doHandleResponse(Status status, Response response) {
return new ClientSimpleResponse(status);
}
}