Package com.linecorp.armeria.spring.web
Class ArmeriaWebServer
java.lang.Object
com.linecorp.armeria.spring.web.ArmeriaWebServer
- All Implemented Interfaces:
org.springframework.boot.web.server.WebServer
@Deprecated public final class ArmeriaWebServer extends Object implements org.springframework.boot.web.server.WebServer
Deprecated.
A
WebServer
that can be used to control an Armeria server.- See Also:
to create a with the reactive stack
-
Constructor Summary
Constructors Constructor Description ArmeriaWebServer(Server server, SessionProtocol protocol, InetAddress address, int port, ConfigurableListableBeanFactory beanFactory)
Deprecated. -
Method Summary
-
Constructor Details
-
ArmeriaWebServer
@Deprecated public ArmeriaWebServer(Server server, SessionProtocol protocol, @Nullable InetAddress address, int port, ConfigurableListableBeanFactory beanFactory)Deprecated.Creates a newWebServer
instance with the specified ArmeriaServer
.- Parameters:
server
- the Armeria serverprotocol
- the session protocol which is used for the primary portaddress
- the primary local address that the server will be bound toport
- the primary local port that the server will be bound tobeanFactory
- the bean factory that addingArmeriaBeanPostProcessor
to the application context.
-
-
Method Details
-
start
public void start()Deprecated.- Specified by:
start
in interfaceorg.springframework.boot.web.server.WebServer
-
stop
public void stop()Deprecated.- Specified by:
stop
in interfaceorg.springframework.boot.web.server.WebServer
-
getPort
public int getPort()Deprecated.- Specified by:
getPort
in interfaceorg.springframework.boot.web.server.WebServer
-