Skip to content

Commit

Permalink
Polish javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Jul 14, 2021
1 parent 997b7a5 commit 2ebdb71
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/asciidoc/http-client.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ include::{sourcedir}/reactor/netty/http/HttpDecoderSpec.java[lines=29..34]
[source,java,indent=0]
.{sourcedir}/reactor/netty/http/client/HttpResponseDecoderSpec.java
----
include::{sourcedir}/reactor/netty/http/client/HttpResponseDecoderSpec.java[lines=35..43]
include::{sourcedir}/reactor/netty/http/client/HttpResponseDecoderSpec.java[lines=44..52]
----
====

Expand Down
2 changes: 1 addition & 1 deletion docs/asciidoc/http-server.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ include::{sourcedir}/reactor/netty/http/HttpDecoderSpec.java[lines=29..34]
[source,java,indent=0]
.{sourcedir}/reactor/netty/http/server/HttpRequestDecoderSpec.java
----
include::{sourcedir}/reactor/netty/http/server/HttpRequestDecoderSpec.java[lines=34..39]
include::{sourcedir}/reactor/netty/http/server/HttpRequestDecoderSpec.java[lines=41..46]
----
====

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,18 @@
* A configuration builder to fine tune the {@link io.netty.handler.codec.http.HttpClientCodec}
* (or more precisely the {@link io.netty.handler.codec.http.HttpClientCodec.Decoder}).
* <p>
* Defaults are accessible as constants {@link #DEFAULT_MAX_INITIAL_LINE_LENGTH}, {@link #DEFAULT_MAX_HEADER_SIZE},
* {@link #DEFAULT_MAX_CHUNK_SIZE}, {@link #DEFAULT_INITIAL_BUFFER_SIZE}, {@link #DEFAULT_VALIDATE_HEADERS},
* {@link #DEFAULT_FAIL_ON_MISSING_RESPONSE} and {@link #DEFAULT_PARSE_HTTP_AFTER_CONNECT_REQUEST}.
* Defaults are accessible as constants:
* <table>
* <tr><td>{@link #DEFAULT_ALLOW_DUPLICATE_CONTENT_LENGTHS}</td><td>false</td></tr>
* <tr><td>{@link #DEFAULT_FAIL_ON_MISSING_RESPONSE}</td><td>false</td></tr>
* <tr><td>{@link #DEFAULT_H2C_MAX_CONTENT_LENGTH}</td><td>65536</td></tr>
* <tr><td>{@link #DEFAULT_INITIAL_BUFFER_SIZE}</td><td>128</td></tr>
* <tr><td>{@link #DEFAULT_MAX_CHUNK_SIZE}</td><td>8192</td></tr>
* <tr><td>{@link #DEFAULT_MAX_HEADER_SIZE}</td><td>8192</td></tr>
* <tr><td>{@link #DEFAULT_MAX_INITIAL_LINE_LENGTH}</td><td>4096</td></tr>
* <tr><td>{@link #DEFAULT_PARSE_HTTP_AFTER_CONNECT_REQUEST}</td><td>false</td></tr>
* <tr><td>{@link #DEFAULT_VALIDATE_HEADERS}</td><td>true</td></tr>
* </table>
*
* @author Violeta Georgieva
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,16 @@
* (or more precisely the {@link io.netty.handler.codec.http.HttpServerCodec.HttpServerRequestDecoder}) for HTTP/1.1
* or {@link io.netty.handler.codec.http.HttpServerUpgradeHandler} for H2C.
* <p>
* Defaults are accessible as constants {@link #DEFAULT_MAX_INITIAL_LINE_LENGTH}, {@link #DEFAULT_MAX_HEADER_SIZE},
* {@link #DEFAULT_MAX_CHUNK_SIZE}, {@link #DEFAULT_INITIAL_BUFFER_SIZE}, {@link #DEFAULT_VALIDATE_HEADERS} and
* {@link #DEFAULT_H2C_MAX_CONTENT_LENGTH}.
* Defaults are accessible as constants
* <table>
* <tr><td>{@link #DEFAULT_ALLOW_DUPLICATE_CONTENT_LENGTHS}</td><td>false</td></tr>
* <tr><td>{@link #DEFAULT_H2C_MAX_CONTENT_LENGTH}</td><td>0</td></tr>
* <tr><td>{@link #DEFAULT_INITIAL_BUFFER_SIZE}</td><td>128</td></tr>
* <tr><td>{@link #DEFAULT_MAX_CHUNK_SIZE}</td><td>8192</td></tr>
* <tr><td>{@link #DEFAULT_MAX_HEADER_SIZE}</td><td>8192</td></tr>
* <tr><td>{@link #DEFAULT_MAX_INITIAL_LINE_LENGTH}</td><td>4096</td></tr>
* <tr><td>{@link #DEFAULT_VALIDATE_HEADERS}</td><td>true</td></tr>
* </table>
*
* @author Simon Baslé
* @author Violeta Georgieva
Expand Down

0 comments on commit 2ebdb71

Please sign in to comment.