Package spark.embeddedserver
Interface EmbeddedServerFactory
- All Known Implementing Classes:
EmbeddedJettyFactory
public interface EmbeddedServerFactory
-
Method Summary
Modifier and TypeMethodDescriptiondefault EmbeddedServercreate(Routes routeMatcher, StaticFilesConfiguration staticFilesConfiguration, boolean hasMultipleHandler) Deprecated.create(Routes routeMatcher, StaticFilesConfiguration staticFilesConfiguration, ExceptionMapper exceptionMapper, boolean hasMultipleHandler) Creates an embedded server instance.
-
Method Details
-
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
-