提交 402fcc7e 编写于 作者: A adriancole

remove jaxrs dependency by changing IResponse headers to a Map

上级 c2b88a77
......@@ -30,7 +30,6 @@ subprojects {
compile 'com.google.guava:guava:11.0.2'
compile 'com.netflix.archaius:archaius-core:0.5.8'
compile 'com.netflix.netflix-commons:netflix-commons-util:0.1.1'
compile 'javax.ws.rs:jsr311-api:1.1.1'
compile 'commons-collections:commons-collections:3.2.1'
testCompile 'junit:junit:4.10'
testCompile 'log4j:log4j:1.2.16'
......@@ -50,6 +49,7 @@ project(':ribbon-httpclient') {
compile project(':ribbon-core')
compile 'org.apache.httpcomponents:httpclient:4.1.2'
compile 'com.sun.jersey:jersey-bundle:1.9.1'
compile 'javax.ws.rs:jsr311-api:1.1.1'
compile 'com.sun.jersey.contribs:jersey-apache-client4:1.8'
testCompile 'asm:asm-all:3.2'
testCompile 'commons-io:commons-io:2.0.1'
......
......@@ -18,9 +18,7 @@
package com.netflix.client;
import java.net.URI;
import javax.ws.rs.core.MultivaluedMap;
import java.util.Map;
/**
* Response interface for the client framework.
......@@ -54,5 +52,5 @@ public interface IResponse
*
* @return Headers if any in the response.
*/
public MultivaluedMap<?, ?> getHeaders();
public Map<String, ?> getHeaders();
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册