Class AbstractConnector
java.lang.Object
org.n52.sensorweb.server.helgoland.adapters.connector.AbstractConnector
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected HttpClientabstract AbstractServiceConstellationgetConstellation(ConnectorConfiguration configuration) protected HttpClientgetName()protected DataSourceJobConfigurationgetServiceConfig(String key) protected booleanbooleanbooleanmatches(ConnectorConfiguration configuration) booleanmatches(DataSourceJobConfiguration config) protected org.apache.hc.core5.http.ClassicHttpResponsesendGetRequest(String uri) protected org.apache.hc.core5.http.ClassicHttpResponsesendPostRequest(org.apache.xmlbeans.XmlObject request, String uri) protected voidsetHttpClient(HttpClient httpClient)
-
Field Details
-
CONNECTION_TIMEOUT
public static final long CONNECTION_TIMEOUT -
SOCKET_TIMEOUT
public static final long SOCKET_TIMEOUT
-
-
Constructor Details
-
AbstractConnector
public AbstractConnector() -
AbstractConnector
-
-
Method Details
-
getConstellation
-
getConnectorName
-
getName
-
matches
-
matches
-
matches
-
getHttpClient
-
isHttpClientInitialized
protected boolean isHttpClientInitialized() -
createSimpleClient
-
setHttpClient
-
sendGetRequest
protected org.apache.hc.core5.http.ClassicHttpResponse sendGetRequest(String uri) throws IOException - Throws:
IOException
-
sendPostRequest
protected org.apache.hc.core5.http.ClassicHttpResponse sendPostRequest(org.apache.xmlbeans.XmlObject request, String uri) throws IOException - Throws:
IOException
-
addServiceConfig
-
getServiceConfig
-