public final class SimpleCompositeServiceBuilder extends AbstractCompositeServiceBuilder<SimpleCompositeServiceBuilder>
AbstractCompositeServiceBuilder
implementation. Useful when you do not want to
define a new dedicated Service
builder type.Constructor and Description |
---|
SimpleCompositeServiceBuilder() |
Modifier and Type | Method and Description |
---|---|
SimpleCompositeService |
build()
|
SimpleCompositeServiceBuilder |
service(PathMapping pathMapping,
Service service)
Binds the specified
Service at the specified PathMapping . |
SimpleCompositeServiceBuilder |
serviceAt(String exactPath,
Service service)
Binds the specified
Service at the specified exact path. |
SimpleCompositeServiceBuilder |
serviceUnder(String pathPrefix,
Service service)
Binds the specified
Service under the specified directory.. |
self, service, services, toString
public SimpleCompositeServiceBuilder serviceAt(String exactPath, Service service)
AbstractCompositeServiceBuilder
Service
at the specified exact path.serviceAt
in class AbstractCompositeServiceBuilder<SimpleCompositeServiceBuilder>
public SimpleCompositeServiceBuilder serviceUnder(String pathPrefix, Service service)
AbstractCompositeServiceBuilder
Service
under the specified directory..serviceUnder
in class AbstractCompositeServiceBuilder<SimpleCompositeServiceBuilder>
public SimpleCompositeServiceBuilder service(PathMapping pathMapping, Service service)
AbstractCompositeServiceBuilder
Service
at the specified PathMapping
.service
in class AbstractCompositeServiceBuilder<SimpleCompositeServiceBuilder>
public SimpleCompositeService build()
Copyright © 2015-2016 LINE Corporation. All Rights Reserved.