Class ResponseSignatureInterceptor
- java.lang.Object
-
- no.digipost.api.client.internal.http.response.interceptor.ResponseSignatureInterceptor
-
- All Implemented Interfaces:
org.apache.http.HttpResponseInterceptor
public class ResponseSignatureInterceptor extends Object implements org.apache.http.HttpResponseInterceptor
-
-
Field Summary
Fields Modifier and Type Field Description static String
NOT_SIGNED_RESPONSE
-
Constructor Summary
Constructors Constructor Description ResponseSignatureInterceptor(Supplier<EntryPoint> entryPointResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description X509Certificate
lastSertifikat()
void
process(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
-
-
-
Field Detail
-
NOT_SIGNED_RESPONSE
public static final String NOT_SIGNED_RESPONSE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ResponseSignatureInterceptor
public ResponseSignatureInterceptor(Supplier<EntryPoint> entryPointResolver)
-
-
Method Detail
-
process
public void process(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
- Specified by:
process
in interfaceorg.apache.http.HttpResponseInterceptor
-
lastSertifikat
public X509Certificate lastSertifikat()
-
-