Class SimpleCompositeRpcServiceBuilder
java.lang.Object
com.linecorp.armeria.server.composition.AbstractCompositeServiceBuilder<RpcService>
com.linecorp.armeria.server.composition.SimpleCompositeRpcServiceBuilder
@Deprecated public final class SimpleCompositeRpcServiceBuilder extends AbstractCompositeServiceBuilder<RpcService>
Deprecated.
This class will be removed without a replacement.
A general purpose
AbstractCompositeServiceBuilder
implementation. Useful when you do not want to
define a new dedicated RpcService
builder type.-
Method Summary
Modifier and Type Method Description SimpleCompositeRpcService
build()
Deprecated.Returns a newly-createdSimpleCompositeRpcService
based on theRpcService
s added to this builder.SimpleCompositeRpcServiceBuilder
service(Route route, RpcService service)
Deprecated.SimpleCompositeRpcServiceBuilder
service(String pathPattern, RpcService service)
Deprecated.Binds the specifiedService
at the specified path pattern. e.g.SimpleCompositeRpcServiceBuilder
serviceUnder(String pathPrefix, RpcService service)
Deprecated.Binds the specifiedService
under the specified directory..Methods inherited from class com.linecorp.armeria.server.composition.AbstractCompositeServiceBuilder
service, services, toString
-
Method Details
-
serviceUnder
Deprecated.Description copied from class:AbstractCompositeServiceBuilder
Binds the specifiedService
under the specified directory..- Overrides:
serviceUnder
in classAbstractCompositeServiceBuilder<RpcService>
-
service
Deprecated.Description copied from class:AbstractCompositeServiceBuilder
Binds the specifiedService
at the specified path pattern. e.g./login
(no path parameters)/users/{userId}
(curly-brace style)/list/:productType/by/:ordering
(colon style)exact:/foo/bar
(exact match)prefix:/files
(prefix match)glob:/~*/downloads/**
(glob pattern)regex:^/files/(?<filePath>.*)$
(regular expression)
- Overrides:
service
in classAbstractCompositeServiceBuilder<RpcService>
-
service
Deprecated.Description copied from class:AbstractCompositeServiceBuilder
- Overrides:
service
in classAbstractCompositeServiceBuilder<RpcService>
-
build
Deprecated.Returns a newly-createdSimpleCompositeRpcService
based on theRpcService
s added to this builder.
-