A C D E F G H I J M N R S T V W X

S

sendErrorAndClose(Socket, ErrorCode) - Static method in class restart.server.ErrorThread
Return an error code to the client and close the socket.
ServerThread - Class in restart.server
 
ServerThread(RestServer, Socket, RestServerPolicy) - Constructor for class restart.server.ServerThread
 
Service - Class in restart.server
 
Service(Method, String) - Constructor for class restart.server.Service
Construct the Service with the default policy, the callback should be defined later
Service(Method, String, ServicePolicy) - Constructor for class restart.server.Service
Construct the Service with the given policy, the callback should be defined later
Service(Method, String, Callback) - Constructor for class restart.server.Service
Construct the Service with the default policy and the given callback
Service(Method, String, Callback, ServicePolicy) - Constructor for class restart.server.Service
Construct the Service with the given callback and the given policy
ServiceData - Class in restart.common
 
ServiceData() - Constructor for class restart.common.ServiceData
 
ServiceInput - Class in restart.server
 
ServiceInput(Method, String) - Constructor for class restart.server.ServiceInput
 
ServiceOutput - Class in restart.server
Class to describe the output of a service.
ServiceOutput(ErrorCode) - Constructor for class restart.server.ServiceOutput
Default constructor
ServiceOutput(RestException) - Constructor for class restart.server.ServiceOutput
 
ServicePolicy - Class in restart.server
Policy about the Service.
ServicePolicy() - Constructor for class restart.server.ServicePolicy
 
ServiceResult - Class in restart.client
 
ServiceResult(HttpURLConnection) - Constructor for class restart.client.ServiceResult
don't call the constructor yourself
setAuthorizedMethod(Method) - Method in class restart.server.Service
 
setCallback(Callback) - Method in class restart.server.Service
Set the callback of the service (the callback is called when the service is invoked)
setContentEncoding(String) - Method in class restart.server.ServiceOutput
Set the content encoding
setContentType(String) - Method in class restart.common.ServiceData
 
setData(byte[]) - Method in class restart.common.ServiceData
 
setData(long, String, byte[]) - Method in class restart.server.ServiceOutput
Set the data to be returned
setDataLength(int) - Method in class restart.common.ServiceData
 
setMethod(Method) - Method in class restart.common.ServiceData
 
setName(String) - Method in class restart.common.FormParam
 
setName(String) - Method in class restart.server.Service
Set the name (relative URL) of the service
setPostParams(FormParam[]) - Method in class restart.common.ServiceData
Use only if ContentType: application/x-www-form-urlencoded
setProtocol(String) - Method in class restart.client.CallData
 
setServerName(String) - Method in class restart.client.CallData
 
setServiceName(String) - Method in class restart.common.ServiceData
 
setServicePolicy(ServicePolicy) - Method in class restart.server.Service
Set the policy.
setTransferEncoding(String) - Method in class restart.server.ServiceOutput
Set the transfer encoding
setUrlParams(FormParam[]) - Method in class restart.common.ServiceData
 
setValue(String) - Method in class restart.common.FormParam
 
setXMLData(Object) - Method in class restart.xml.client.XMLCallData
 
setXMLData(Object) - Method in class restart.xml.server.XMLServiceInput
 
setXMLData(Object) - Method in class restart.xml.server.XMLServiceOutput
 
setXMLHandler(XMLHandler) - Method in class restart.xml.client.XMLCallData
 
setXMLHandler(XMLHandler) - Method in class restart.xml.server.XMLService
 
start() - Method in class restart.server.RestServer
Start the server : expose the services and listen for connections
stopServer() - Method in class restart.server.RestServer
Should stop the server ?
stopServer(boolean) - Method in class restart.server.RestServer
Gently stop the server if the given param is false, or force stop the server if the given param is true.
stopServerThread() - Method in class restart.server.ServerThread
 

A C D E F G H I J M N R S T V W X