Package org.beryx.textio.web
Interface TextIoApp<APP extends TextIoApp<APP>>
-
- All Known Implementing Classes:
RatpackTextIoApp,SparkTextIoApp
public interface TextIoApp<APP extends TextIoApp<APP>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPort()voidinit()APPwithMaxInactiveSeconds(java.lang.Integer maxInactiveSeconds)APPwithOnAbort(java.util.function.Consumer<java.lang.String> onAbort)APPwithOnDispose(java.util.function.Consumer<java.lang.String> onDispose)APPwithPort(java.lang.Integer portNumber)APPwithStaticFilesLocation(java.lang.String location)
-
-
-
Method Detail
-
init
void init()
-
withOnDispose
APP withOnDispose(java.util.function.Consumer<java.lang.String> onDispose)
-
withOnAbort
APP withOnAbort(java.util.function.Consumer<java.lang.String> onAbort)
-
withMaxInactiveSeconds
APP withMaxInactiveSeconds(java.lang.Integer maxInactiveSeconds)
-
withStaticFilesLocation
APP withStaticFilesLocation(java.lang.String location)
-
withPort
APP withPort(java.lang.Integer portNumber)
-
getPort
int getPort()
-
-