Class sun.server.http.HttpServerParameters
All Packages Class Hierarchy This Package Previous Next Index
Class sun.server.http.HttpServerParameters
java.lang.Object
|
+----sun.server.ServerParameters
|
+----sun.server.http.HttpServerParameters
- public class HttpServerParameters
- extends ServerParameters
This class provides access to HTTP server parameters.
-
DEFAULT_ENABLE_ACLS
-
-
DEFAULT_KEEP_ALIVE_COUNT
-
-
DEFAULT_KEEP_ALIVE_TIMEOUT
-
-
DEFAULT_RAM_CACHE_ENTRY_SIZE
-
-
DEFAULT_WELCOME
-
-
enableAcls
- If true then ACLs should be enabled.
-
keepAliveCount
- The keep-alive count.
-
keepAliveTimeout
- The keep-alive timeout.
-
ramCacheEntrySize
- The RAM cache entry size for file servlet.
-
welcome
- The welcome page.
-
HttpServerParameters()
- Creates new HTTP server parameters.
-
HttpServerParameters(ExProperties)
- Creates new HTTP server parameters initialized from properties.
-
getEnableAcls()
- Returns true if ACLs are enabled.
-
getKeepAliveCount()
- Returns the keep-alive count.
-
getKeepAliveTimeout()
- Returns the keep-alive timeout.
-
getRamCacheEntrySize()
- Returns the RAM cache entry size.
-
getWelcome()
- Returns welcome page.
-
load(ExProperties)
- Loads parameters from properties.
-
save(ExProperties)
- Saves parameters to properties.
-
setEnableAcls(boolean)
- Sets whether ACLs are enabled.
-
setKeepAliveCount(int)
- Sets the keep-alive count.
-
setKeepAliveTimeout(int)
- Sets the keep-alive timeout.
-
setRamCacheEntrySize(int)
- Sets the RAM cache entry size.
-
setWelcome(String)
- Sets the welcome page.
DEFAULT_WELCOME
public final static String DEFAULT_WELCOME
DEFAULT_ENABLE_ACLS
public final static boolean DEFAULT_ENABLE_ACLS
DEFAULT_RAM_CACHE_ENTRY_SIZE
public final static int DEFAULT_RAM_CACHE_ENTRY_SIZE
DEFAULT_KEEP_ALIVE_COUNT
public final static int DEFAULT_KEEP_ALIVE_COUNT
DEFAULT_KEEP_ALIVE_TIMEOUT
public final static int DEFAULT_KEEP_ALIVE_TIMEOUT
welcome
protected String welcome
- The welcome page.
enableAcls
protected boolean enableAcls
- If true then ACLs should be enabled.
ramCacheEntrySize
protected int ramCacheEntrySize
- The RAM cache entry size for file servlet.
keepAliveCount
protected int keepAliveCount
- The keep-alive count.
keepAliveTimeout
protected int keepAliveTimeout
- The keep-alive timeout.
HttpServerParameters
public HttpServerParameters()
- Creates new HTTP server parameters.
HttpServerParameters
public HttpServerParameters(ExProperties props)
- Creates new HTTP server parameters initialized from properties.
getWelcome
public synchronized String getWelcome()
- Returns welcome page.
setWelcome
public synchronized void setWelcome(String name)
- Sets the welcome page.
getEnableAcls
public synchronized boolean getEnableAcls()
- Returns true if ACLs are enabled.
setEnableAcls
public synchronized void setEnableAcls(boolean enable)
- Sets whether ACLs are enabled.
getRamCacheEntrySize
public synchronized int getRamCacheEntrySize()
- Returns the RAM cache entry size.
setRamCacheEntrySize
public synchronized void setRamCacheEntrySize(int size)
- Sets the RAM cache entry size.
getKeepAliveCount
public synchronized int getKeepAliveCount()
- Returns the keep-alive count.
setKeepAliveCount
public synchronized void setKeepAliveCount(int count)
- Sets the keep-alive count.
getKeepAliveTimeout
public synchronized int getKeepAliveTimeout()
- Returns the keep-alive timeout.
setKeepAliveTimeout
public synchronized void setKeepAliveTimeout(int timeout)
- Sets the keep-alive timeout.
load
public synchronized void load(ExProperties props)
- Loads parameters from properties.
- Overrides:
- load in class ServerParameters
save
public synchronized void save(ExProperties props)
- Saves parameters to properties.
- Overrides:
- save in class ServerParameters
All Packages Class Hierarchy This Package Previous Next Index