Initial support for the Java 6 Http Server

This commit is contained in:
Arjen Poutsma
2007-12-20 16:07:26 +00:00
parent 7ea6847bc8
commit 00fa3620f5
10 changed files with 536 additions and 31 deletions

View File

@@ -69,6 +69,10 @@ public class HttpServletConnection extends AbstractReceiverConnection
statusCodeSet = true;
}
/*
* Errors
*/
public boolean hasError() throws IOException {
return false;
}

View File

@@ -44,6 +44,9 @@ public interface HttpTransportConstants extends TransportConstants {
/** The "404 Not Found" status code. */
int STATUS_NOT_FOUND = 404;
/** The "405 Method Not Allowed" status code. */
int STATUS_METHOD_NOT_ALLOWED = 405;
/** The "500 Server Error" status code. */
int STATUS_INTERNAL_SERVER_ERROR = 500;