Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import org.apache.commons.httpclient.HostConfiguration; import org.apache.commons.httpclient.HttpConnection; import org.apache.commons.httpclient.HttpConnectionManager; import org.apache.commons.httpclient.HttpState; import org.apache.commons.httpclient.HttpURL; import org.apache.commons.httpclient.SimpleHttpConnectionManager; import org.apache.commons.httpclient.methods.ByteArrayRequestEntity; import org.apache.commons.httpclient.methods.PostMethod; import org.apache.commons.httpclient.methods.RequestEntity; /** * Connection using apache HttpComponent */ public class AndroidServiceConnection implements ServiceConnection { private static HttpConnectionManager connectionManager = new SimpleHttpConnectionManager(); private HttpConnection connection; private PostMethod postMethod; private java.io.ByteArrayOutputStream bufferStream = null; /** * Constructor taking the url to the endpoint for this soap communication * @param url the url to open the connection to. */ public AndroidServiceConnection(String url) throws IOException { HttpURL httpURL = new HttpURL(url); HostConfiguration host = new HostConfiguration(); host.setHost(httpURL.getHost(), httpURL.getPort()); connection = connectionManager.getConnection(host); postMethod = new PostMethod(url); } public void connect() throws IOException { if (!connection.isOpen()) { connection.open(); } } public void disconnect() { connection.releaseConnection(); } public void setRequestProperty(String name, String value) { postMethod.setRequestHeader(name, value); } public InputStream openInputStream() throws IOException { RequestEntity re = new ByteArrayRequestEntity(bufferStream.toByteArray()); postMethod.setRequestEntity(re); postMethod.execute(new HttpState(), connection); return postMethod.getResponseBodyAsStream(); } public InputStream getErrorStream() { return null; } }