Package io.varhttp
Class Standalone
java.lang.Object
io.varhttp.Standalone
- All Implemented Interfaces:
Runnable
Deprecated.
Use undertow version instead. Since it has some bugs fixed and more features implemented(e.g. websockets)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected VarServlet
Deprecated.protected VarConfig
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionStandalone
(VarConfig varConfig, javax.inject.Provider<ParameterHandler> parameterHandlerProvider, ControllerMapper controllerMapper, ObjectFactory objectFactory, ControllerFilter controllerFilter, HttpServerFactory serverFactory, ExceptionRegistry exceptionRegistry) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Consumer<VarConfiguration> configuration) Deprecated.Deprecated.Deprecated.void
registerServlet
(String path, jakarta.servlet.http.HttpServlet servlet) Deprecated.void
run()
Deprecated.void
setExecutor
(ExecutorService executor) Deprecated.In case no executor is set the default one will be used: Executors.newCachedThreadPoolvoid
setSslContext
(InputStream x509Certificate, InputStream privateKey) Deprecated.void
setSslContext
(KeyStore keyStore, char[] password) Deprecated.void
setSslContext
(SSLContext sslContext) Deprecated.void
Deprecated.
-
Field Details
-
servlet
Deprecated. -
varConfig
Deprecated.
-
-
Constructor Details
-
Standalone
@Inject public Standalone(VarConfig varConfig, javax.inject.Provider<ParameterHandler> parameterHandlerProvider, ControllerMapper controllerMapper, ObjectFactory objectFactory, ControllerFilter controllerFilter, HttpServerFactory serverFactory, ExceptionRegistry exceptionRegistry) Deprecated.
-
-
Method Details
-
configure
Deprecated. -
registerServlet
Deprecated. -
run
public void run()Deprecated. -
stop
Deprecated. -
getServlet
Deprecated. -
getStarted
Deprecated. -
setSslContext
Deprecated. -
setSslContext
Deprecated. -
setSslContext
Deprecated. -
setExecutor
Deprecated.In case no executor is set the default one will be used: Executors.newCachedThreadPool- Parameters:
executor
- an executor to be used to process HTTP requests
-