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.

Variable Index

 o DEFAULT_ENABLE_ACLS
 o DEFAULT_KEEP_ALIVE_COUNT
 o DEFAULT_KEEP_ALIVE_TIMEOUT
 o DEFAULT_RAM_CACHE_ENTRY_SIZE
 o DEFAULT_WELCOME
 o enableAcls
If true then ACLs should be enabled.
 o keepAliveCount
The keep-alive count.
 o keepAliveTimeout
The keep-alive timeout.
 o ramCacheEntrySize
The RAM cache entry size for file servlet.
 o welcome
The welcome page.

Constructor Index

 o HttpServerParameters()
Creates new HTTP server parameters.
 o HttpServerParameters(ExProperties)
Creates new HTTP server parameters initialized from properties.

Method Index

 o getEnableAcls()
Returns true if ACLs are enabled.
 o getKeepAliveCount()
Returns the keep-alive count.
 o getKeepAliveTimeout()
Returns the keep-alive timeout.
 o getRamCacheEntrySize()
Returns the RAM cache entry size.
 o getWelcome()
Returns welcome page.
 o load(ExProperties)
Loads parameters from properties.
 o save(ExProperties)
Saves parameters to properties.
 o setEnableAcls(boolean)
Sets whether ACLs are enabled.
 o setKeepAliveCount(int)
Sets the keep-alive count.
 o setKeepAliveTimeout(int)
Sets the keep-alive timeout.
 o setRamCacheEntrySize(int)
Sets the RAM cache entry size.
 o setWelcome(String)
Sets the welcome page.

Variables

 o DEFAULT_WELCOME
  public final static String DEFAULT_WELCOME
 o DEFAULT_ENABLE_ACLS
  public final static boolean DEFAULT_ENABLE_ACLS
 o DEFAULT_RAM_CACHE_ENTRY_SIZE
  public final static int DEFAULT_RAM_CACHE_ENTRY_SIZE
 o DEFAULT_KEEP_ALIVE_COUNT
  public final static int DEFAULT_KEEP_ALIVE_COUNT
 o DEFAULT_KEEP_ALIVE_TIMEOUT
  public final static int DEFAULT_KEEP_ALIVE_TIMEOUT
 o welcome
  protected String welcome
The welcome page.
 o enableAcls
  protected boolean enableAcls
If true then ACLs should be enabled.
 o ramCacheEntrySize
  protected int ramCacheEntrySize
The RAM cache entry size for file servlet.
 o keepAliveCount
  protected int keepAliveCount
The keep-alive count.
 o keepAliveTimeout
  protected int keepAliveTimeout
The keep-alive timeout.

Constructors

 o HttpServerParameters
  public HttpServerParameters()
Creates new HTTP server parameters.
 o HttpServerParameters
  public HttpServerParameters(ExProperties props)
Creates new HTTP server parameters initialized from properties.

Methods

 o getWelcome
  public synchronized String getWelcome()
Returns welcome page.
 o setWelcome
  public synchronized void setWelcome(String name)
Sets the welcome page.
 o getEnableAcls
  public synchronized boolean getEnableAcls()
Returns true if ACLs are enabled.
 o setEnableAcls
  public synchronized void setEnableAcls(boolean enable)
Sets whether ACLs are enabled.
 o getRamCacheEntrySize
  public synchronized int getRamCacheEntrySize()
Returns the RAM cache entry size.
 o setRamCacheEntrySize
  public synchronized void setRamCacheEntrySize(int size)
Sets the RAM cache entry size.
 o getKeepAliveCount
  public synchronized int getKeepAliveCount()
Returns the keep-alive count.
 o setKeepAliveCount
  public synchronized void setKeepAliveCount(int count)
Sets the keep-alive count.
 o getKeepAliveTimeout
  public synchronized int getKeepAliveTimeout()
Returns the keep-alive timeout.
 o setKeepAliveTimeout
  public synchronized void setKeepAliveTimeout(int timeout)
Sets the keep-alive timeout.
 o load
  public synchronized void load(ExProperties props)
Loads parameters from properties.
Overrides:
load in class ServerParameters
 o 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