source: josm/trunk/src/oauth/signpost/http/HttpResponse.java@ 16334

Last change on this file since 16334 was 4231, checked in by stoecker, 13 years ago

add signpost and metadata extractor code to repository directly

File size: 448 bytes
Line 
1package oauth.signpost.http;
2
3import java.io.IOException;
4import java.io.InputStream;
5
6public interface HttpResponse {
7
8 int getStatusCode() throws IOException;
9
10 String getReasonPhrase() throws Exception;
11
12 InputStream getContent() throws IOException;
13
14 /**
15 * Returns the underlying response object, in case you need to work on it
16 * directly.
17 *
18 * @return the wrapped response object
19 */
20 Object unwrap();
21}
Note: See TracBrowser for help on using the repository browser.