Package spark.embeddedserver
Interface EmbeddedServerFactory
-
- All Known Implementing Classes:
EmbeddedJettyFactory
public interface EmbeddedServerFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default EmbeddedServercreate(Routes routeMatcher, StaticFilesConfiguration staticFilesConfiguration, boolean hasMultipleHandler)Deprecated.EmbeddedServercreate(Routes routeMatcher, StaticFilesConfiguration staticFilesConfiguration, ExceptionMapper exceptionMapper, boolean hasMultipleHandler)Creates an embedded server instance.
-
-
-
Method Detail
-
create
@Deprecated default EmbeddedServer create(Routes routeMatcher, StaticFilesConfiguration staticFilesConfiguration, boolean hasMultipleHandler)
Deprecated.
-
create
EmbeddedServer create(Routes routeMatcher, StaticFilesConfiguration staticFilesConfiguration, ExceptionMapper exceptionMapper, boolean hasMultipleHandler)
Creates an embedded server instance.- Parameters:
routeMatcher- The route matcherstaticFilesConfiguration- The static files configuration objecthasMultipleHandler- true if other handlers exist- Returns:
- the created instance
-
-