Class VirtualHostContextPathServicesBuilder

java.lang.Object
com.linecorp.armeria.server.VirtualHostContextPathServicesBuilder

@UnstableApi public final class VirtualHostContextPathServicesBuilder extends Object
Builds ServiceConfigs for a VirtualHostBuilder. All ServiceConfigs built by this builder will be served under the specified context paths.

 Server.builder()
       .virtualHost("foo.com")
       .contextPath("/v3")
       .service(myService) // served by virtual host "foo.com" under "/v3"