Class FileCallback
-
- All Implemented Interfaces:
-
kotlin.Function,kotlin.Function1
public final class FileCallback implements Function1<HttpContext, HttpContext>Callback that resolves requests' path parameters to files based on a base file. Requests path parameters are not allowed to contain
..(references to file parent directories are not permitted).If request does not have path parameters file will be returned (or not found if file is a directory).
-
-
Constructor Summary
Constructors Constructor Description FileCallback(String file)FileCallback(File file)
-