Interface SmallJettyConfiguration
- All Superinterfaces:
com.blackrook.small.SmallConfiguration
- All Known Implementing Classes:
DefaultSmallJettyConfiguration
public interface SmallJettyConfiguration
extends com.blackrook.small.SmallConfiguration
Jetty-specific configuration for Small.
- Author:
- Matthew Tropiano
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceConfiguration for GZipping client content.static interfaceSSL Configuration. -
Method Summary
Modifier and TypeMethodDescriptionintintintintintintbooleanbooleanbooleanintMethods inherited from interface com.blackrook.small.SmallConfiguration
allowOptions, allowTrace, allowWebSockets, autoParseMultipart, getApplicationPackageRoots, getAttribute, getAttribute, getContextPath, getSecureServerPort, getServerPort, getServletPaths, getTempPath
-
Method Details
-
getMaxThreads
int getMaxThreads()- Returns:
- the maximum amount of connector threads.
-
getIdleConnectionTimeout
int getIdleConnectionTimeout()- Returns:
- the amount of time in milliseconds before an open HTTP connection times out.
-
getHeaderCacheSize
int getHeaderCacheSize()- Returns:
- the header cache size in bytes.
-
getOutputBufferSize
int getOutputBufferSize()- Returns:
- the output buffer cache size in bytes.
-
getRequestHeaderSize
int getRequestHeaderSize()- Returns:
- the request header cache size in bytes.
-
getResponseHeaderSize
int getResponseHeaderSize()- Returns:
- the response header cache size in bytes.
-
getSendServerVersion
boolean getSendServerVersion()- Returns:
- true if the server version should be sent in headers/default pages, false if not.
-
getSendDateHeader
boolean getSendDateHeader()- Returns:
- true if the server date should be sent in headers/default pages, false if not.
-
getSendXPoweredBy
boolean getSendXPoweredBy()- Returns:
- true if the server name should be sent in headers/default pages, false if not.
-
getServletContextOptions
int getServletContextOptions()- Returns:
- the Jetty options to pass to the servlet context handler.
- Since:
- 1.5.3
- See Also:
-
getSSLConfiguration
SmallJettyConfiguration.SSLConfiguration getSSLConfiguration()- Returns:
- the SSL configuration to use for SSL, or null for no secure socket setup.
-
getGZipCompression
SmallJettyConfiguration.GZipConfiguration getGZipCompression()- Returns:
- the GZip configuration to use, or null for no compression scheme.
- Since:
- 1.5.3
-