public class ResponseSignatureInterceptor extends Object implements org.apache.http.HttpResponseInterceptor
Constructor and Description |
---|
ResponseSignatureInterceptor(ApiService apiService) |
ResponseSignatureInterceptor(EventLogger eventLogger,
ApiService apiService) |
Modifier and Type | Method and Description |
---|---|
X509Certificate |
lastSertifikat() |
void |
process(org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context) |
void |
setThrowOnError(boolean shouldThrow) |
public ResponseSignatureInterceptor(ApiService apiService)
public ResponseSignatureInterceptor(EventLogger eventLogger, ApiService apiService)
public void setThrowOnError(boolean shouldThrow)
public void process(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, IOException
process
in interface org.apache.http.HttpResponseInterceptor
org.apache.http.HttpException
IOException
public X509Certificate lastSertifikat()
Copyright © 2016 Digipost. All rights reserved.