public class DefaultHttpMultipartRestClient extends HttpMultipartRestClient implements Observer
Update is triggered by the CertificateManager.setCertificateLocation method, so that this MultipartRestClient is always in sync with CertificateManager.
baseRequestConfig, DEFAULT_TIMEOUT_PARAM, DEFAULT_TIMEOUT_VALUE, log, rc, x509Session
Constructor and Description |
---|
DefaultHttpMultipartRestClient()
This MultipartRestClient implementation only uses the default or the set
certificate location from CertificateManager to derive the Session.
|
Modifier and Type | Method and Description |
---|---|
protected void |
observeCertificateManager() |
void |
update(Observable observable,
Object changeTypeString)
Updates the RestClient with new Session and certificate information from
the CertificateManager.
|
clearDefaultTimeout, closeIdleConnections, doDeleteRequest, doGetRequest, doGetRequest, doGetRequestForHeaders, doHeadRequest, doPostRequest, doPutRequest, getAddedHeaders, getHttpClient, getLatestRequestUrl, getLatestRequestUrl, getSession, setDefaultTimeout, setHeader
public DefaultHttpMultipartRestClient() throws IOException, ClientSideException
IOException
ClientSideException
protected void observeCertificateManager()
public void update(Observable observable, Object changeTypeString)
Copyright © 2020. All Rights Reserved.