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 int
getPort()
void
init()
APP
withMaxInactiveSeconds(java.lang.Integer maxInactiveSeconds)
APP
withOnAbort(java.util.function.Consumer<java.lang.String> onAbort)
APP
withOnDispose(java.util.function.Consumer<java.lang.String> onDispose)
APP
withPort(java.lang.Integer portNumber)
APP
withStaticFilesLocation(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()
-
-