Class ContentTypeValidation
java.lang.Object
com.creativityfactory.swiftserver.middleware.ContentTypeValidation
- All Implemented Interfaces:
HttpRequestHandler
This middleware is for validation of incoming content-type, because the exchange data-type in
the generated REST-APIs by this framework is JSON.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ContentTypeValidation
public ContentTypeValidation()
-
-
Method Details
-
method
- Specified by:
method
in interfaceHttpRequestHandler
-