|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerInterface
Method Summary | |
---|---|
boolean |
checkFileSystemSensitivity()
Is the underlying file-system case sensitive ? |
void |
checkpoint()
Checkpoint all cached data, by saving them to disk. |
void |
errlog(Resource from,
java.lang.String msg)
Another nice way of reporting errors from a Resource. |
java.io.File |
getAuthDirectory()
Get this server authentication directory. |
int |
getClientBufferSize()
Get the client's buffer size. |
boolean |
getClientDebug()
Get the client's debug flags from the properties. |
boolean |
getClientKeepConnection()
Does this server wants clients to try keeping connections alive ? |
int |
getClientThreadPriority()
Get the client's threads priority from the properties. |
java.io.File |
getConfigDirectory()
Get this server config directory. |
int |
getConnectionTimeOut()
Get the connection allowed idle time from the properties. |
ResourceContext |
getDefaultContext()
Get the default resource context for that server. |
java.lang.String |
getDocumentationURL()
Get the full URL of Jigsaw's documentation. |
java.lang.String |
getHost()
Get this server host name. |
java.io.File |
getIndexerDirectory()
|
IndexersCatalog |
getIndexersCatalog()
|
int |
getLocalPort()
Get the server local port |
int |
getPort()
Get this server port number. |
ObservableProperties |
getProperties()
Get this server properties. |
int |
getRequestTimeOut()
Get the request allowed time slice from the properties. |
ResourceSpace |
getResourceSpace()
Get this server resource space. |
ResourceStoreManager |
getResourceStoreManager()
Get the Resource store manager of this server |
FramedResource |
getRoot()
Get the server current root resource. |
java.io.File |
getRootDirectory()
Get this server root directory. |
java.lang.String |
getSoftware()
Get the server software string. |
java.io.File |
getStoreDirectory()
Get this server store directory. |
java.io.File |
getTempDirectory()
Get temp directory |
java.lang.String |
getTrashDirectory()
Get the tracsh directory |
java.net.URL |
getURL()
Get the server URL. |
ResourceReference |
loadResource(java.lang.String name)
Lookup in the root entry for some resource. |
ResourceReference |
loadRoot(java.lang.String name)
Dynamically change the root resource for the server. |
ReplyInterface |
perform(RequestInterface request)
Perform the given request on behalf of this server. |
Methods inherited from interface org.w3c.jigsaw.daemon.ServerHandler |
---|
clone, errlog, getConfigResource, getIdentifier, getInetAddress, initialize, log, shutdown, start, trace |
Method Detail |
---|
void errlog(Resource from, java.lang.String msg)
from
- The resource that trigered the error.msg
- The error message.ResourceReference loadResource(java.lang.String name)
name
- The name of the resource to lookup in the root entry.
void checkpoint()
ResourceReference loadRoot(java.lang.String name)
name
- The name of the new root resource, to be found in the
root entry.
ObservableProperties getProperties()
boolean checkFileSystemSensitivity()
java.lang.String getDocumentationURL()
java.lang.String getTrashDirectory()
boolean getClientDebug()
boolean getClientKeepConnection()
int getRequestTimeOut()
int getConnectionTimeOut()
int getClientThreadPriority()
int getClientBufferSize()
java.lang.String getHost()
int getPort()
FramedResource getRoot()
java.net.URL getURL()
java.lang.String getSoftware()
int getLocalPort()
java.io.File getRootDirectory()
java.io.File getConfigDirectory()
java.io.File getAuthDirectory()
java.io.File getStoreDirectory()
java.io.File getIndexerDirectory()
java.io.File getTempDirectory()
IndexersCatalog getIndexersCatalog()
ResourceSpace getResourceSpace()
ResourceContext getDefaultContext()
ResourceStoreManager getResourceStoreManager()
ReplyInterface perform(RequestInterface request) throws ProtocolException, ResourceException
request
- The request to perform.
ProtocolException
- If some error occurs during processing the
request.
ResourceException
- If some error not relative to the
protocol occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |