Package com.creativityfactory.swiftserver.middleware
package com.creativityfactory.swiftserver.middleware
-
ClassDescriptionThis middleware has the rule of set upping http caching.This middleware is for validation of incoming content-type, because the exchange data-type in the generated REST-APIs by this framework is JSON.This middleware is for checking the existence of data source or not.This middleware is for converting the incoming id (from route parameter) from string to its appropriate type.This middleware is for transforming incoming data from the id of other resources to theirs real objects.This middleware is for the validation the incoming data.This middleware is for set up the data source which the REST API will base on it to do persistence stuffs.This middleware is for set the model(Class) which we will create a REST-API for itThis middleware is for indicating that there is a change in this resource and update the http caching.