All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nhl.link.rest.client.runtime.response.SimpleResponseHandler Maven / Gradle / Ivy

There is a newer version: 2.13
Show newest version
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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy