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

org.odata4j.jersey.consumer.JerseyClientResponse Maven / Gradle / Ivy

package org.odata4j.jersey.consumer;

import javax.ws.rs.core.MultivaluedMap;

import org.odata4j.consumer.ODataClientResponse;

import com.sun.jersey.api.client.ClientResponse;

public class JerseyClientResponse implements ODataClientResponse {

  private ClientResponse clientResponse;

  public JerseyClientResponse(ClientResponse clientResponse) {
    this.clientResponse = clientResponse;
  }

  public ClientResponse getClientResponse() {
    return clientResponse;
  }

  @Override
  public MultivaluedMap getHeaders() {
    return clientResponse.getHeaders();
  }

  @Override
  public void close() {}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy