Interface RequestProcessor<ReqType extends DataRetrievalRequest,RespType extends DataRetrievalResponse<?>,MemberType extends FederationMember>
- Type Parameters:
ReqType- - the type of requests that this request processor is capable of processingRespType- - the type of responses returned by this request processorMemberType- - the type of federation members that this request processor can interact with
- All Known Subinterfaces:
BRTPFRequestProcessor,GraphQLRequestProcessor,JSONRetrievalProcessor<ReqType,,MemberType> Neo4jRequestProcessor,RecordsRetrievalProcessor<ReqType,,MemberType> RESTRequestProcessor,SolMapRetrievalProcessor<ReqType,,MemberType> SPARQLRequestProcessor,StringRetrievalProcessor<ReqType,,MemberType> TPFRequestProcessor,TriplesRetrievalProcessor<ReqType,RespType, MemberType>
- All Known Implementing Classes:
BRTPFRequestProcessorImpl,GraphQLRequestProcessorImpl,Neo4jRequestProcessorImpl,RESTRequestProcessorImpl,SPARQLRequestProcessorImpl,TPFRequestProcessorImpl
public interface RequestProcessor<ReqType extends DataRetrievalRequest,RespType extends DataRetrievalResponse<?>,MemberType extends FederationMember>
This interface captures any kind of request processor.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisSupportedMemberType(Class<? extends FederationMember> t) booleanisSupportedRequestType(Class<? extends DataRetrievalRequest> t) booleanisSupportedResponseType(Class<? extends DataRetrievalResponse<?>> t) performRequest(ReqType req, MemberType fm)
-
Method Details
-
isSupportedRequestType
-
isSupportedResponseType
-
isSupportedMemberType
-
performRequest
- Throws:
FederationAccessException
-