Top Description Inners Fields Constructors Methods
reactor.netty5.http.server

public final Class HttpServerFormDecoderProvider

extends Object
Class Inheritance
Imports
io.netty.contrib.handler.codec.http.multipart.HttpDataFactory, .HttpPostMultipartRequestDecoder, .HttpPostStandardRequestDecoder, .InterfaceHttpData, .InterfaceHttpPostRequestDecoder, .DefaultHttpDataFactory, .HttpData, .Attribute, .FileUpload, io.netty5.handler.codec.http.HttpRequest, reactor.core.publisher.Mono, reactor.core.scheduler.Scheduler, .Schedulers, reactor.util.annotation.Nullable, java.nio.charset.Charset, .StandardCharsets, java.nio.file.Files, .Path, java.util.ArrayList, .List, .Objects

A configuration builder to fine tune the HTTP form decoder.
Author
Violeta Georgieva
Since
1.0.11

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
public static interface
pack-priv static class
pack-priv static interface
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv final Path
pack-priv final Charset
pack-priv static final HttpServerFormDecoderProvider
pack-priv static final String
private volatile Mono<Path>
pack-priv final long
pack-priv final long
pack-priv final Scheduler
pack-priv final boolean

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Path

Returns:

the configured directory where to store disk Attribute/FileUpload
baseDirectory
()

Returns the configured directory where to store disk Attribute/FileUpload.

public Charset

Returns:

the configured charset for Attribute/FileUpload
charset
()

Returns the configured charset for Attribute/FileUpload.

pack-priv Mono<Path>
pack-priv HttpServerFormDecoderProvider.ReactorNettyHttpPostRequestDecoder
createNewHttpPostRequestDecoder(HttpRequest request, boolean isMultipart, Path baseDirectory)

pack-priv Mono<Path>
public boolean
equals(Object
the reference object with which to compare.
o
)

Overrides java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.
public int
hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for the object.
public long

Returns:

the configured maximum size after which an Attribute/FileUpload starts being stored on disk rather than in memory
maxInMemorySize
()

Returns the configured maximum size after which an Attribute/FileUpload starts being stored on disk rather than in memory.

public long

Returns:

the configured maximum allowed size of individual Attribute/FileUpload
maxSize
()

Returns the configured maximum allowed size of individual Attribute/FileUpload.

pack-priv Mono<HttpServerFormDecoderProvider.ReactorNettyHttpPostRequestDecoder>
newHttpPostRequestDecoder(HttpRequest request, boolean isMultipart)

public Scheduler

Returns:

the configured scheduler to be used for offloading disk operations in the decoding phase
scheduler
()

Returns the configured scheduler to be used for offloading disk operations in the decoding phase.

public boolean

Returns:

whether the streaming mode is enabled
streaming
()

Returns whether the streaming mode is enabled.

Inherited from java.lang.Object:
clonefinalizegetClassnotifynotifyAlltoStringwaitwaitwait