Class TPFRequestProcessorBase
java.lang.Object
se.liu.ida.hefquin.engine.federation.access.impl.reqproc.TPFRequestProcessorBase
- Direct Known Subclasses:
BRTPFRequestProcessorImpl
,TPFRequestProcessorImpl
Base class for
RequestProcessor
implementations that retrieve TPFResponse
.
The main method to be used in subclasses is performRequest(String, TriplePattern)
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
protected static class
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
TPFRequestProcessorBase
(long connectionTimeout) The given timeouts are specified in milliseconds. -
Method Summary
Modifier and TypeMethodDescriptionprotected static HttpClient
createHttpClient
(long connectionTimeout) static org.apache.jena.graph.Triple
createMatchableTriplePattern
(org.apache.jena.graph.Triple tp) protected TPFResponseBuilder
performRequest
(String requestURL, TriplePattern tp)
-
Field Details
-
httpClient
-
-
Constructor Details
-
TPFRequestProcessorBase
protected TPFRequestProcessorBase() -
TPFRequestProcessorBase
protected TPFRequestProcessorBase(long connectionTimeout) The given timeouts are specified in milliseconds. Any value <= 0 means no timeout.
-
-
Method Details
-
createHttpClient
-
performRequest
protected TPFResponseBuilder performRequest(String requestURL, TriplePattern tp) throws TPFRequestProcessorBase.HttpRequestException -
createMatchableTriplePattern
public static org.apache.jena.graph.Triple createMatchableTriplePattern(org.apache.jena.graph.Triple tp)
-