Class SPARQLRequestProcessorImpl
java.lang.Object
se.liu.ida.hefquin.federation.access.impl.reqproc.SPARQLRequestProcessorImpl
- All Implemented Interfaces:
SolMapRetrievalProcessor<SPARQLRequest,,SPARQLEndpoint> SPARQLRequestProcessor,RequestProcessor<SPARQLRequest,SolMapsResponse, SPARQLEndpoint>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSPARQLRequestProcessorImpl(long connectionTimeout, long overallTimeout) The given timeouts are specified in milliseconds. -
Method Summary
Modifier and TypeMethodDescriptionperformRequest(SPARQLRequest req, SPARQLEndpoint fm) protected SolMapsResponseprotected SolMapsResponseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface se.liu.ida.hefquin.federation.access.impl.reqproc.SolMapRetrievalProcessor
isSupportedResponseTypeMethods inherited from interface se.liu.ida.hefquin.federation.access.impl.reqproc.SPARQLRequestProcessor
isSupportedMemberType, isSupportedRequestType
-
Field Details
-
httpClient
-
overallTimeout
protected final long overallTimeout
-
-
Constructor Details
-
SPARQLRequestProcessorImpl
public SPARQLRequestProcessorImpl() -
SPARQLRequestProcessorImpl
public SPARQLRequestProcessorImpl(long connectionTimeout, long overallTimeout) The given timeouts are specified in milliseconds. Any value <= 0 means no timeout.
-
-
Method Details
-
performRequest
public SolMapsResponse performRequest(SPARQLRequest req, SPARQLEndpoint fm) throws FederationAccessException - Specified by:
performRequestin interfaceRequestProcessor<SPARQLRequest,SolMapsResponse, SPARQLEndpoint> - Throws:
FederationAccessException
-
performRequestWithQueryExecutionHTTP
protected SolMapsResponse performRequestWithQueryExecutionHTTP(SPARQLRequest req, SPARQLEndpoint fm) throws FederationAccessException - Throws:
FederationAccessException
-
performRequestWithRDFConnection
protected SolMapsResponse performRequestWithRDFConnection(SPARQLRequest req, SPARQLEndpoint fm) throws FederationAccessException - Throws:
FederationAccessException
-