|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.w3c.jigsaw.http.httpd
org.w3c.jigsaw.admin.AdminServer
public class AdminServer
| Field Summary | |
|---|---|
protected GenericAuthFilter |
auth
|
protected ResourceBroker |
broker
|
protected ControlResource |
controlConfig
|
protected ResourceFilter[] |
filters
|
protected RealmsCatalog |
realms
The realm catalog of the admin server, hardcoded as "adminRealms.db" |
protected AbstractContainer |
root
|
protected ResourceReference |
rr_controlConfig
|
protected ResourceReference |
rr_realms
|
protected ResourceReference |
rr_root
|
protected Serializer |
serializer
|
protected ServerHandlerManager |
shm
|
protected org.w3c.jigsaw.admin.AdminWriter |
writer
|
| Fields inherited from class org.w3c.jigsaw.http.httpd |
|---|
CHECKURL_P, CLIENT_BUFSIZE_P, CLIENT_DEBUG_P, CLIENT_FACTORY_P, CLIENT_PRIORITY_P, CONFIG_P, debug, DEFHOSTIP_P, DISPLAY_URL_ON_ERROR_P, DOCURL_P, EDIT_ROOT_P, FS_SENSITIVITY, host, HOST_P, instances, KEEP_ALIVE_P, KEEP_TIMEOUT_P, LENIENT_P, LOGGER_P, MAX_LOADED_STORE, MAX_LOADED_STORE_P, port, PORT_P, props, PROPS_P, PUBLIC_P, REQUEST_TIMEOUT_P, ROOT_CLASS_P, ROOT_NAME_P, ROOT_P, SERIALIZER_CLASS_P, SERVER_GROUP_P, SERVER_SOFTWARE_P, SERVER_USER_P, SHUFFLER_PATH_P, SPACE_P, STARTUP_P, STORE_SIZE_LIMIT, STORE_SIZE_LIMIT_P, thread, timer, TRACE_P, TRASHDIR_P, url, USE_SM_P, verscount, VERSCOUNT_P, version |
| Constructor Summary | |
|---|---|
AdminServer()
|
|
| Method Summary | |
|---|---|
protected void |
addFilter(ResourceFilter filter,
java.util.Hashtable defs)
|
protected java.lang.String |
getBanner()
|
ResourceReference |
getConfigResource()
get this server config resource |
ResourceReference |
getControlResource()
|
ResourceReference |
getRealmCatalogResource()
|
RealmsCatalog |
getRealmsCatalog()
Get this server realm catalog. |
FramedResource |
getRoot()
Get the server current root resource. |
ResourceReference |
getRootReference()
get the resource reference of the root resource of the server |
void |
initialize(ServerHandlerManager shm,
java.lang.String identifier,
ObservableProperties props)
Initialize the Server |
protected void |
initializeAuth()
|
ReplyInterface |
perform(RequestInterface req)
Perform the request |
Reply |
remoteLoadRoot(Request request)
Load the remote Root. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ResourceBroker broker
protected ServerHandlerManager shm
protected org.w3c.jigsaw.admin.AdminWriter writer
protected AbstractContainer root
protected ResourceReference rr_root
protected ControlResource controlConfig
protected ResourceReference rr_controlConfig
protected GenericAuthFilter auth
protected Serializer serializer
protected ResourceFilter[] filters
protected RealmsCatalog realms
protected ResourceReference rr_realms
| Constructor Detail |
|---|
public AdminServer()
| Method Detail |
|---|
public RealmsCatalog getRealmsCatalog()
httpd
getRealmsCatalog in class httpdprotected java.lang.String getBanner()
getBanner in class httpdpublic ResourceReference getConfigResource()
httpd
getConfigResource in interface ServerHandlergetConfigResource in class httpdpublic ResourceReference getRealmCatalogResource()
public ResourceReference getControlResource()
public Reply remoteLoadRoot(Request request)
throws ProtocolException
request - The incomming request.
ProtocolException - if a protocol
error occurs.
public ReplyInterface perform(RequestInterface req)
throws ProtocolException,
ResourceException
perform in interface ServerInterfaceperform in class httpdreq - the request.
ProtocolException - if a protocol error occurs
ResourceException - if a server error occurspublic FramedResource getRoot()
httpd
getRoot in interface ServerInterfacegetRoot in class httpdpublic ResourceReference getRootReference()
httpd
getRootReference in class httpdprotected void initializeAuth()
protected void addFilter(ResourceFilter filter,
java.util.Hashtable defs)
public void initialize(ServerHandlerManager shm,
java.lang.String identifier,
ObservableProperties props)
throws ServerHandlerInitException
initialize in interface ServerHandlerinitialize in class httpdshm - The global server handler manager.identifier - The string identifying this server's occurence.props - A set of properties to initialize from.
ServerHandlerInitException - if it can't be initialized
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||