Uses of Class
io.fusionauth.http.server.HTTPServerConfiguration
Packages that use HTTPServerConfiguration
-
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.withClientTimeout(Duration duration) Sets the duration that the server will allow client connections to remain open.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.withInstrumenter(Instrumenter instrumenter) Sets an instrumenter that the server will notify when events and conditions happen.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.withMaxOutputBufferQueueLength(int outputBufferQueueLength) Sets the maximum length of the output buffer queue.HTTPServerConfiguration.withMaxPreambleLength(int maxLength) Sets the max preamble length (the start-line and headers constitute the head).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.withNumberOfWorkerThreads(int numberOfWorkerThreads) Sets the number of worker threads that will handle requests coming into the HTTP server.HTTPServerConfiguration.withPreambleBufferSize(int size) Sets the size of the preamble buffer (that is the buffer that reads the start-line and headers).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 process the HTTP response.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.Constructors in io.fusionauth.http.server with parameters of type HTTPServerConfigurationModifierConstructorDescriptionHTTP11Processor(HTTPServerConfiguration configuration, HTTPListenerConfiguration listener, Notifier notifier, ByteBuffer preambleBuffer, ThreadPool threadPool, String ipAddress) HTTPRequestProcessor(HTTPServerConfiguration configuration, HTTPRequest request) HTTPResponseProcessor(HTTPServerConfiguration configuration, HTTPRequest request, HTTPResponse response, BlockingByteBufferOutputStream outputStream) HTTPS11Processor(HTTP11Processor delegate, HTTPServerConfiguration configuration, HTTPListenerConfiguration listenerConfiguration) HTTPServerThread(HTTPServerConfiguration configuration, HTTPListenerConfiguration listenerConfiguration, ThreadPool threadPool)