summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-05-26 05:53:11 (EDT)
committerEike Stepper2008-05-26 05:53:11 (EDT)
commite5b2299835fe237e5fa00d25d93dcd251528d5a1 (patch)
tree9ebb029989cd41abb3f4d0ab662a818262e5f7cf
parent7ea2a2e2a0e23cda36196e69be6928b559fd982b (diff)
downloadcdo-e5b2299835fe237e5fa00d25d93dcd251528d5a1.zip
cdo-e5b2299835fe237e5fa00d25d93dcd251528d5a1.tar.gz
cdo-e5b2299835fe237e5fa00d25d93dcd251528d5a1.tar.bz2
[232648] Provide an HTTPConnector
https://bugs.eclipse.org/bugs/show_bug.cgi?id=232648
-rw-r--r--plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/internal/http/HTTPClientConnector.java2
-rw-r--r--plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/internal/http/HTTPConnector.java4
2 files changed, 0 insertions, 6 deletions
diff --git a/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/internal/http/HTTPClientConnector.java b/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/internal/http/HTTPClientConnector.java
index e3a220d..8cf016a 100644
--- a/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/internal/http/HTTPClientConnector.java
+++ b/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/internal/http/HTTPClientConnector.java
@@ -221,7 +221,6 @@ public class HTTPClientConnector extends HTTPConnector
private boolean tryBuffersRequest()
{
- System.out.println("TRYING REQUEST");
synchronized (poller)
{
if (requesting)
@@ -239,7 +238,6 @@ public class HTTPClientConnector extends HTTPConnector
try
{
- System.out.println("REQUESTING");
final boolean moreBuffers[] = { false };
request(new IOHandler()
{
diff --git a/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/internal/http/HTTPConnector.java b/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/internal/http/HTTPConnector.java
index e2ae5ca..edafc61 100644
--- a/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/internal/http/HTTPConnector.java
+++ b/plugins/org.eclipse.net4j.http/src/org/eclipse/net4j/internal/http/HTTPConnector.java
@@ -118,7 +118,6 @@ public abstract class HTTPConnector extends Connector implements IHTTPConnector
IBuffer buffer = queuedBuffer.getBuffer();
short channelIndex = buffer.getChannelIndex();
out.writeShort(channelIndex);
- System.out.println("WRITING BUFFER");
long channelCount = queuedBuffer.getChannelCount();
out.writeLong(channelCount);
@@ -131,7 +130,6 @@ public abstract class HTTPConnector extends Connector implements IHTTPConnector
for (int i = 0; i < length; i++)
{
byte b = byteBuffer.get();
- System.out.println("Payload: " + b);
out.writeByte(b);
}
@@ -168,12 +166,10 @@ public abstract class HTTPConnector extends Connector implements IHTTPConnector
for (int i = 0; i < length; i++)
{
byte b = in.readByte();
- System.out.println("Payload: " + b);
byteBuffer.put(b);
}
buffer.flip();
- System.out.println("READ BUFFER");
handleInputBuffer(channel, bufferCount, buffer);
markLastTraffic();
}