Index

A B C D E F G H I J L M N O P Q R S U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

S

save(Object) - Method in class com.creativityfactory.swiftserver.persistence.DefaultPersistence
Saves the specified object in the data store if it does not already exist.
save(T) - Method in interface com.creativityfactory.swiftserver.persistence.Persistence
Saves a new instance of the model class to the persistence layer.
saveDataToFile(String, String) - Static method in class com.creativityfactory.swiftserver.utils.IOUtils
Saves a string of data to a file at the specified path.
saveDB(List<Object>, Class<?>) - Method in class com.creativityfactory.swiftserver.persistence.DefaultDataSource
Saves the specified list of objects to the JSON file corresponding to the specified model class.
sendError(int, String) - Method in class com.creativityfactory.swiftserver.response.HttpResponse
 
sendError(int, String) - Method in interface com.creativityfactory.swiftserver.response.Response
Sends an error response to the client using the specified status code and message.
service(HttpServletRequest, HttpServletResponse) - Method in class com.creativityfactory.swiftserver.app.Application
 
session() - Method in class com.creativityfactory.swiftserver.request.HttpRequest
 
session() - Method in interface com.creativityfactory.swiftserver.request.Request
Returns the HttpSession object associated with this request.
setAttribute(String, Object) - Method in class com.creativityfactory.swiftserver.request.HttpRequest
 
setAttribute(String, Object) - Method in interface com.creativityfactory.swiftserver.request.Request
Stores an attribute in this request.
setBody(String) - Method in class com.creativityfactory.swiftserver.request.HttpRequest
 
setBody(String) - Method in interface com.creativityfactory.swiftserver.request.Request
Sets the body of this Request.
SetDataSource - Class in com.creativityfactory.swiftserver.middleware
This middleware is for set up the data source which the REST API will base on it to do persistence stuffs.
SetDataSource() - Constructor for class com.creativityfactory.swiftserver.middleware.SetDataSource
 
setDateHeader(String, long) - Method in class com.creativityfactory.swiftserver.response.HttpResponse
 
setDateHeader(String, long) - Method in interface com.creativityfactory.swiftserver.response.Response
Sets a date header for the HTTP response.
setError(String) - Method in class com.creativityfactory.swiftserver.error.ErrorResponse
 
setHeader(String, String) - Method in class com.creativityfactory.swiftserver.response.HttpResponse
 
setHeader(String, String) - Method in interface com.creativityfactory.swiftserver.response.Response
Sets a header for the HTTP response.
setMessage(String) - Method in class com.creativityfactory.swiftserver.error.ErrorResponse
 
setPath(String) - Method in class com.creativityfactory.swiftserver.error.ErrorResponse
 
setStatus(int) - Method in class com.creativityfactory.swiftserver.error.ErrorResponse
 
setTimestamp(Date) - Method in class com.creativityfactory.swiftserver.error.ErrorResponse
 
SetUpModel - Class in com.creativityfactory.swiftserver.middleware
This middleware is for set the model(Class) which we will create a REST-API for it
SetUpModel(Class<?>, Gson) - Constructor for class com.creativityfactory.swiftserver.middleware.SetUpModel
 
shouldContinue() - Method in class com.creativityfactory.swiftserver.request.HttpRequest
 
shouldContinue() - Method in interface com.creativityfactory.swiftserver.request.Request
Returns the value indicating whether the request should continue to be handled by the next middleware or route.
SingletonDataSource - Class in com.creativityfactory.swiftserver.persistence
This class is responsible for creating instance of datasource following the pattern Singleton.
SingletonDataSource() - Constructor for class com.creativityfactory.swiftserver.persistence.SingletonDataSource
 
status(int) - Method in class com.creativityfactory.swiftserver.response.HttpResponse
 
status(int) - Method in interface com.creativityfactory.swiftserver.response.Response
Sets the status code for the response of an HTTP request.
A B C D E F G H I J L M N O P Q R S U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form