Package io.servicetalk.http.api
Interface HttpApiConversions.ServiceAdapterHolder
-
- Enclosing class:
- HttpApiConversions
public static interface HttpApiConversions.ServiceAdapterHolderA holder forStreamingHttpServicethat adapts anotherserviceto the streaming programming model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StreamingHttpServiceadaptor()StreamingHttpServicethat adapts anotherserviceto the streaming programming model.HttpExecutionStrategyserviceInvocationStrategy()HttpExecutionStrategythat should be used to invoke the service returned byadaptor().
-
-
-
Method Detail
-
adaptor
StreamingHttpService adaptor()
StreamingHttpServicethat adapts anotherserviceto the streaming programming model. ThisStreamingHttpServiceshould only be invoked using theHttpExecutionStrategyreturned fromserviceInvocationStrategy().- Returns:
StreamingHttpServicethat adapts anotherserviceto the streaming programming model.
-
serviceInvocationStrategy
HttpExecutionStrategy serviceInvocationStrategy()
HttpExecutionStrategythat should be used to invoke the service returned byadaptor().- Returns:
HttpExecutionStrategyfor this adapter.
-
-