summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-05-28 09:02:09 (EDT)
committerEike Stepper2008-05-28 09:02:09 (EDT)
commitb3308e0444a992bcfb99f5e2ed4e87223bcfd214 (patch)
treec55c6c992b9de3d1ccfce7607b9df55a96aef19d
parentb4596d105ff542681f0832cc7cd857cc5ec163ea (diff)
downloadcdo-b3308e0444a992bcfb99f5e2ed4e87223bcfd214.zip
cdo-b3308e0444a992bcfb99f5e2ed4e87223bcfd214.tar.gz
cdo-b3308e0444a992bcfb99f5e2ed4e87223bcfd214.tar.bz2
[232648] Provide an HTTPConnector
https://bugs.eclipse.org/bugs/show_bug.cgi?id=232648
-rw-r--r--plugins/org.eclipse.net4j.http.server/src/org/eclipse/net4j/http/internal/server/HTTPAcceptor.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/org.eclipse.net4j.http.server/src/org/eclipse/net4j/http/internal/server/HTTPAcceptor.java b/plugins/org.eclipse.net4j.http.server/src/org/eclipse/net4j/http/internal/server/HTTPAcceptor.java
index 92f3c51..4b95444 100644
--- a/plugins/org.eclipse.net4j.http.server/src/org/eclipse/net4j/http/internal/server/HTTPAcceptor.java
+++ b/plugins/org.eclipse.net4j.http.server/src/org/eclipse/net4j/http/internal/server/HTTPAcceptor.java
@@ -91,7 +91,10 @@ public class HTTPAcceptor extends Acceptor implements IHTTPAcceptor, INet4jTrans
}
this.servlet = servlet;
- servlet.setRequestHandler(this);
+ if (this.servlet != null)
+ {
+ this.servlet.setRequestHandler(this);
+ }
}
public int getConnectorIDLength()