+++ /dev/null
-package de.j32.httplib;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.HttpURLConnection;
-
-public class HttpResponse extends InputStream
-{
- HttpURLConnection connection_;
- InputStream stream_;
-
- public HttpResponse(HttpURLConnection connection) throws IOException
- {
- connection_ = connection;
- stream_ = connection_.getInputStream();
- }
-
- @Override
- public int read() throws IOException
- {
- return stream_.read();
- }
-
- @Override
- public void close() throws IOException
- {
- stream_.close();
- }
-
-}