Uses of Class
io.fusionauth.http.server.HTTPServerConfiguration
Packages that use HTTPServerConfiguration
Package
Description
-
Uses of HTTPServerConfiguration in io.fusionauth.http.server
Methods in io.fusionauth.http.server that return HTTPServerConfigurationModifier and TypeMethodDescriptionConfigurable.configuration()HTTPServer.configuration()HTTPServerConfiguration.configuration()HTTPServerConfiguration.withBaseDir(Path baseDir) Sets the base directory for this server.HTTPServerConfiguration.withCompressByDefault(boolean compressByDefault) Sets the default compression behavior for the HTTP response.HTTPServerConfiguration.withContextPath(String contextPath) Sets the prefix of the URIs that this server handles.HTTPServerConfiguration.withExpectValidator(ExpectValidator validator) Sets an ExpectValidator that is used if a client sends the server aExpect: 100-continueheader.HTTPServerConfiguration.withHandler(HTTPHandler handler) Sets the handler that will process the requests.HTTPServerConfiguration.withInitialReadTimeout(Duration duration) Sets the duration that the server will attempt to read the first byte from a client.HTTPServerConfiguration.withInstrumenter(Instrumenter instrumenter) Sets an instrumenter that the server will notify when events and conditions happen.HTTPServerConfiguration.withKeepAliveTimeoutDuration(Duration duration) Sets the duration that the server will allow client connections to remain open and idle after each request has been processed.HTTPServerConfiguration.withListener(HTTPListenerConfiguration listener) Adds a listener configuration for the server.HTTPServerConfiguration.withLoggerFactory(LoggerFactory loggerFactory) Sets the logger factory that all the HTTP server classes use to retrieve specific loggers.HTTPServerConfiguration.withMaxResponseChunkSize(int size) This configures the maximum size of a chunk in the response when the server is using chunked response encoding.HTTPServerConfiguration.withMinimumReadThroughput(long bytesPerSecond) This configures the minimum number of bytes per second that a client must send a request to the server before the server closes the connection.HTTPServerConfiguration.withMinimumWriteThroughput(long bytesPerSecond) This configures the minimum number of bytes per second that a client must read the response from the server before the server closes the connection.HTTPServerConfiguration.withMultipartBufferSize(int multipartBufferSize) Sets the size of the buffer that is used to process the multipart request body.HTTPServerConfiguration.withProcessingTimeoutDuration(Duration duration) Sets the duration that the server will allow worker threads to run after the final request byte is read and before the first response byte is written.HTTPServerConfiguration.withReadThroughputCalculationDelayDuration(Duration duration) This configures the duration of the initial delay before calculating and enforcing the minimum read throughput.HTTPServerConfiguration.withRequestBufferSize(int requestBufferSize) Sets the size of the buffer that is used to process the HTTP request.HTTPServerConfiguration.withResponseBufferSize(int responseBufferSize) Sets the size of the buffer that is used to store the HTTP response before any bytes are written back to the client.HTTPServerConfiguration.withShutdownDuration(Duration duration) Sets the duration the server will wait for running requests to be completed.HTTPServerConfiguration.withWriteThroughputCalculationDelayDuration(Duration duration) This configures the duration of the initial delay before calculating and enforcing the minimum write throughput.Methods in io.fusionauth.http.server with parameters of type HTTPServerConfigurationModifier and TypeMethodDescriptionHTTPServer.withConfiguration(HTTPServerConfiguration configuration) Specify the full configuration object for the server rather than using thewithbuilder methods. -
Uses of HTTPServerConfiguration in io.fusionauth.http.server.internal
Constructors in io.fusionauth.http.server.internal with parameters of type HTTPServerConfigurationModifierConstructorDescriptionHTTPBuffers(HTTPServerConfiguration configuration) HTTPServerThread(HTTPServerConfiguration configuration, HTTPListenerConfiguration listener) HTTPWorker(Socket socket, HTTPServerConfiguration configuration, Instrumenter instrumenter, HTTPListenerConfiguration listener, Throughput throughput) -
Uses of HTTPServerConfiguration in io.fusionauth.http.server.io
Constructors in io.fusionauth.http.server.io with parameters of type HTTPServerConfigurationModifierConstructorDescriptionHTTPInputStream(HTTPServerConfiguration configuration, HTTPRequest request, InputStream delegate, byte[] bodyBytes) HTTPOutputStream(HTTPServerConfiguration configuration, List<String> acceptEncodings, HTTPResponse response, OutputStream delegate, HTTPBuffers buffers, Runnable writeObserver)