diff options
author | Matthew Newhook <matthew@zeroc.com> | 2014-09-03 11:01:11 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2014-09-03 11:01:11 -0230 |
commit | 3b0588532354adf7bf3b86e611a8ae4996bfe6ad (patch) | |
tree | 253961cb83af7bc3b1dfc7633a8f934789476cd1 /java/src/IceInternal/HttpParser.java | |
parent | More work on ICE-2400: the send log thread now uses a separate communicator t... (diff) | |
download | ice-3b0588532354adf7bf3b86e611a8ae4996bfe6ad.tar.bz2 ice-3b0588532354adf7bf3b86e611a8ae4996bfe6ad.tar.xz ice-3b0588532354adf7bf3b86e611a8ae4996bfe6ad.zip |
- C#, Java: Removed Outgoing, fixed generated code to make synchronous
requests using AMI.
- Java: AsyncResult is now an interface.
- Added --arg to allTests.py.
- Fixed operations, adapterDeactivation and metrics test to work with
background IO.
- Added Collocated interrupt test.
- Added support for batch oneway requests using AMI.
- Added test in operations for batch oneway requests using AMI.
Diffstat (limited to 'java/src/IceInternal/HttpParser.java')
-rw-r--r-- | java/src/IceInternal/HttpParser.java | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/java/src/IceInternal/HttpParser.java b/java/src/IceInternal/HttpParser.java index b5567b080b6..c3532393cbd 100644 --- a/java/src/IceInternal/HttpParser.java +++ b/java/src/IceInternal/HttpParser.java @@ -20,7 +20,7 @@ final class HttpParser _state = State.Init; } - enum Type + private enum Type { Unknown, Request, @@ -627,17 +627,6 @@ final class HttpParser return _state == State.Complete; } - Type type() - { - return _type; - } - - String method() - { - assert(_type == Type.Request); - return _method.toString(); - } - String uri() { assert(_type == Type.Request); @@ -675,11 +664,6 @@ final class HttpParser return null; } - java.util.Map<String, String> headers() - { - return _headers; - } - private Type _type; private StringBuffer _method = new StringBuffer(); @@ -694,7 +678,7 @@ final class HttpParser private int _status; private String _reason; - enum State + private enum State { Init, Type, |