- Type Parameters:
- T- event type
- All Known Implementing Classes:
- SseSourceHandlerProvider
public interface SourceHandlerProvider<T>
ServiceLoader provider interface for Source handlers.- 
Method SummaryModifier and TypeMethodDescriptionhandle(X source, HttpClientResponse response, MediaContext mediaContext) Handles a source.booleansupports(GenericType<? extends Source<?>> type, HttpClientResponse response) Checks if a provider supports the type.
- 
Method Details- 
supportsChecks if a provider supports the type.- Parameters:
- type- the source type
- response- the HTTP response
- Returns:
- outcome of test
 
- 
handleHandles a source.- Type Parameters:
- X- type of source
- Parameters:
- source- the source
- response- the HTTP response
- mediaContext- the media context
 
 
-