Package | Description |
---|---|
com.spotify.apollo | |
com.spotify.apollo.environment | |
com.spotify.apollo.request | |
com.spotify.apollo.test |
Modifier and Type | Method and Description |
---|---|
Client |
Environment.client()
Get an Apollo client for communicating with a backend service.
|
Client |
RequestContext.requestScopedClient()
Get an Apollo client that can be used to make backend service requests.
|
Modifier and Type | Method and Description |
---|---|
default Client |
IncomingRequestAwareClient.asUnawareClient() |
default Client |
IncomingRequestAwareClient.wrapRequest(Request request)
Wraps a request and returns a
Client where all calles use the wrapped request for the
incoming argument. |
Modifier and Type | Method and Description |
---|---|
static EnvironmentFactoryBuilder |
EnvironmentFactoryBuilder.newBuilder(String backendDomain,
Client client,
com.google.common.io.Closer closer,
EnvironmentFactory.Resolver resolver) |
Modifier and Type | Method and Description |
---|---|
static RequestContext |
RequestContexts.create(Request request,
Client client,
Map<String,String> pathArgs) |
static RequestContext |
RequestContexts.create(Request request,
Client client,
Map<String,String> pathArgs,
long arrivalTimeNanos) |
Modifier and Type | Class and Description |
---|---|
class |
StubClient
A stub (http://www.martinfowler.com/articles/mocksArentStubs.html) client that allows you to
preconfigure responses to certain messages, as well as verify whether expected messages are sent.
|
Modifier and Type | Method and Description |
---|---|
Client |
ServiceHelper.serviceClient()
Get a
Client that allows to make requests to the service created by this helper |
Copyright © 2016. All rights reserved.