camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [camel] branch master updated: Fixed unit test error in SB starter
Date Mon, 04 Mar 2019 07:35:29 GMT
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 0e27a69  Fixed unit test error in SB starter
0e27a69 is described below

commit 0e27a699d6fdd0987d7248ec8d1ef63736d1dbc7
Author: Claus Ibsen <claus.ibsen@gmail.com>
AuthorDate: Mon Mar 4 08:34:47 2019 +0100

    Fixed unit test error in SB starter
---
 .../component/netty4/http/NettyHttpConfiguration.java      |  9 ---------
 .../http/springboot/NettyHttpComponentConfiguration.java   | 14 --------------
 2 files changed, 23 deletions(-)

diff --git a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/NettyHttpConfiguration.java
b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/NettyHttpConfiguration.java
index a691d06..37184a8 100644
--- a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/NettyHttpConfiguration.java
+++ b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/NettyHttpConfiguration.java
@@ -293,15 +293,6 @@ public class NettyHttpConfiguration extends NettyConfiguration {
         this.maxHeaderSize = maxHeaderSize;
     }
 
-    // Don't support allowDefaultCodec
-    public boolean isAllowDefaultCodec() {
-        return false;
-    }
-    
-    public void setAllowDefaultCodec(boolean allowDefaultCodec) {
-        throw new UnsupportedOperationException("You cannot setAllowDefaultCodec here.");
-    }
-
     public String getOkStatusCodeRange() {
         return okStatusCodeRange;
     }
diff --git a/platforms/spring-boot/components-starter/camel-netty4-http-starter/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java
b/platforms/spring-boot/components-starter/camel-netty4-http-starter/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java
index a22af89..02f4480 100644
--- a/platforms/spring-boot/components-starter/camel-netty4-http-starter/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-netty4-http-starter/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java
@@ -276,12 +276,6 @@ public class NettyHttpComponentConfiguration
          */
         private Integer maxHeaderSize = 8192;
         /**
-         * The maximum length of all headers. If the sum of the length of each
-         * header exceeds this value, a {@link
-         * io.netty.handler.codec.TooLongFrameException} will be raised.
-         */
-        private Boolean allowDefaultCodec = true;
-        /**
          * The status codes which are considered a success response. The values
          * are inclusive. Multiple ranges can be defined, separated by comma,
          * e.g. <tt>200-204,209,301-304</tt>. Each range must be a single number
@@ -414,14 +408,6 @@ public class NettyHttpComponentConfiguration
             this.maxHeaderSize = maxHeaderSize;
         }
 
-        public Boolean getAllowDefaultCodec() {
-            return allowDefaultCodec;
-        }
-
-        public void setAllowDefaultCodec(Boolean allowDefaultCodec) {
-            this.allowDefaultCodec = allowDefaultCodec;
-        }
-
         public String getOkStatusCodeRange() {
             return okStatusCodeRange;
         }


Mime
View raw message