formatting

git-svn-id: http://jclouds.googlecode.com/svn/trunk@1903 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
adrian.f.cole 2009-09-23 23:18:45 +00:00
parent d941ae646e
commit 4a091d0669
1 changed files with 42 additions and 43 deletions

View File

@ -24,8 +24,7 @@
package org.jclouds.http;
import java.io.InputStream;
import java.net.URL;
import java.net.URI;
/**
* Represents a response produced from {@link HttpCommandExecutorService}
@ -33,12 +32,12 @@ import java.net.URL;
* @author Adrian Cole
*/
public class HttpResponse extends HttpMessage {
private URL requestURL;
private URI requestURL;
private int statusCode;
private String message;
private InputStream content;
public HttpResponse(URL requestURL) {
public HttpResponse(URI requestURL) {
this.requestURL = requestURL;
}
@ -78,7 +77,7 @@ public class HttpResponse extends HttpMessage {
this.content = content;
}
public URL getRequestURL() {
public URI getRequestURL() {
return this.requestURL;
}