Package io.servicetalk.http.api
Interface HttpApiConversions.ServiceAdapterHolder
-
- Enclosing class:
- HttpApiConversions
public static interface HttpApiConversions.ServiceAdapterHolder
A holder forStreamingHttpService
that adapts anotherservice
to the streaming programming model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StreamingHttpService
adaptor()
StreamingHttpService
that adapts anotherservice
to the streaming programming model.HttpExecutionStrategy
serviceInvocationStrategy()
HttpExecutionStrategy
that should be used to invoke the service returned byadaptor()
.
-
-
-
Method Detail
-
adaptor
StreamingHttpService adaptor()
StreamingHttpService
that adapts anotherservice
to the streaming programming model. ThisStreamingHttpService
should only be invoked using theHttpExecutionStrategy
returned fromserviceInvocationStrategy()
.- Returns:
StreamingHttpService
that adapts anotherservice
to the streaming programming model.
-
serviceInvocationStrategy
HttpExecutionStrategy serviceInvocationStrategy()
HttpExecutionStrategy
that should be used to invoke the service returned byadaptor()
.- Returns:
HttpExecutionStrategy
for this adapter.
-
-