You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2019/09/09 13:18:43 UTC
[httpcomponents-core] branch master updated: HTTPCORE-598:
corrected misspelled method name (no functional changes)
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git
The following commit(s) were added to refs/heads/master by this push:
new 22d5d41 HTTPCORE-598: corrected misspelled method name (no functional changes)
22d5d41 is described below
commit 22d5d41080d10e63304fcb6bc94c5c218fc1de6c
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Mon Sep 9 12:49:20 2019 +0200
HTTPCORE-598: corrected misspelled method name (no functional changes)
---
.../core5/http2/impl/nio/bootstrap/H2RequesterBootstrap.java | 10 +++++++++-
.../hc/core5/http2/impl/nio/bootstrap/H2ServerBootstrap.java | 10 +++++++++-
.../hc/core5/http/impl/bootstrap/AsyncRequesterBootstrap.java | 10 +++++++++-
.../hc/core5/http/impl/bootstrap/AsyncServerBootstrap.java | 10 +++++++++-
.../apache/hc/core5/http/impl/bootstrap/ServerBootstrap.java | 10 +++++++++-
5 files changed, 45 insertions(+), 5 deletions(-)
diff --git a/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2RequesterBootstrap.java b/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2RequesterBootstrap.java
index ceb8c15..7a7203b 100644
--- a/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2RequesterBootstrap.java
+++ b/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2RequesterBootstrap.java
@@ -139,12 +139,20 @@ public class H2RequesterBootstrap {
/**
* Sets HTTP/1.1 protocol parameters
*/
- public final H2RequesterBootstrap sethttp1Config(final Http1Config http1Config) {
+ public final H2RequesterBootstrap setHttp1Config(final Http1Config http1Config) {
this.http1Config = http1Config;
return this;
}
/**
+ * @deprecated Use {@link #setHttp1Config(Http1Config)}
+ */
+ @Deprecated
+ public final H2RequesterBootstrap sethttp1Config(final Http1Config http1Config) {
+ return setHttp1Config(http1Config);
+ }
+
+ /**
* Sets message char coding.
*/
public final H2RequesterBootstrap setCharCodingConfig(final CharCodingConfig charCodingConfig) {
diff --git a/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2ServerBootstrap.java b/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2ServerBootstrap.java
index d334cec..8e1a82a 100644
--- a/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2ServerBootstrap.java
+++ b/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/bootstrap/H2ServerBootstrap.java
@@ -154,12 +154,20 @@ public class H2ServerBootstrap {
/**
* Sets HTTP/1.1 protocol parameters
*/
- public final H2ServerBootstrap sethttp1Config(final Http1Config http1Config) {
+ public final H2ServerBootstrap setHttp1Config(final Http1Config http1Config) {
this.http1Config = http1Config;
return this;
}
/**
+ * @deprecated Use {@link #setHttp1Config(Http1Config)}
+ */
+ @Deprecated
+ public final H2ServerBootstrap sethttp1Config(final Http1Config http1Config) {
+ return setHttp1Config(http1Config);
+ }
+
+ /**
* Sets message char coding.
*/
public final H2ServerBootstrap setCharset(final CharCodingConfig charCodingConfig) {
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncRequesterBootstrap.java b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncRequesterBootstrap.java
index fa910f9..5f9c95d 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncRequesterBootstrap.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncRequesterBootstrap.java
@@ -96,12 +96,20 @@ public class AsyncRequesterBootstrap {
/**
* Sets HTTP/1.1 protocol parameters
*/
- public final AsyncRequesterBootstrap sethttp1Config(final Http1Config http1Config) {
+ public final AsyncRequesterBootstrap setHttp1Config(final Http1Config http1Config) {
this.http1Config = http1Config;
return this;
}
/**
+ * @deprecated Use {@link #setHttp1Config(Http1Config)}
+ */
+ @Deprecated
+ public final AsyncRequesterBootstrap sethttp1Config(final Http1Config http1Config) {
+ return setHttp1Config(http1Config);
+ }
+
+ /**
* Sets message char coding.
*/
public final AsyncRequesterBootstrap setCharCodingConfig(final CharCodingConfig charCodingConfig) {
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncServerBootstrap.java b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncServerBootstrap.java
index e211c44..f9189a9 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncServerBootstrap.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/AsyncServerBootstrap.java
@@ -119,12 +119,20 @@ public class AsyncServerBootstrap {
/**
* Sets HTTP/1.1 protocol parameters.
*/
- public final AsyncServerBootstrap sethttp1Config(final Http1Config http1Config) {
+ public final AsyncServerBootstrap setHttp1Config(final Http1Config http1Config) {
this.http1Config = http1Config;
return this;
}
/**
+ * @deprecated Use {@link #setHttp1Config(Http1Config)}
+ */
+ @Deprecated
+ public final AsyncServerBootstrap sethttp1Config(final Http1Config http1Config) {
+ return setHttp1Config(http1Config);
+ }
+
+ /**
* Sets connection configuration.
*/
public final AsyncServerBootstrap setCharCodingConfig(final CharCodingConfig charCodingConfig) {
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/ServerBootstrap.java b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/ServerBootstrap.java
index 8c71781..2966284 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/ServerBootstrap.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/ServerBootstrap.java
@@ -143,12 +143,20 @@ public class ServerBootstrap {
/**
* Sets connection configuration.
*/
- public final ServerBootstrap sethttp1Config(final Http1Config http1Config) {
+ public final ServerBootstrap setHttp1Config(final Http1Config http1Config) {
this.http1Config = http1Config;
return this;
}
/**
+ * @deprecated Use {@link #setHttp1Config(Http1Config)}
+ */
+ @Deprecated
+ public final ServerBootstrap sethttp1Config(final Http1Config http1Config) {
+ return setHttp1Config(http1Config);
+ }
+
+ /**
* Sets connection configuration.
*/
public final ServerBootstrap setCharCodingConfig(final CharCodingConfig charCodingConfig) {