public class RotateAndReplayResponseFilter extends Object implements com.ning.http.client.filter.ResponseFilter
ResponseFilter
which calls
Signer.rotateKeys(net.adamcin.httpsig.api.Challenge, net.adamcin.httpsig.api.Authorization)
so long as the
response is a 401 or no keys are left to try.Constructor and Description |
---|
RotateAndReplayResponseFilter(Signer signer) |
Modifier and Type | Method and Description |
---|---|
com.ning.http.client.filter.FilterContext |
filter(com.ning.http.client.filter.FilterContext ctx) |
public RotateAndReplayResponseFilter(Signer signer)
public com.ning.http.client.filter.FilterContext filter(com.ning.http.client.filter.FilterContext ctx) throws com.ning.http.client.filter.FilterException
filter
in interface com.ning.http.client.filter.ResponseFilter
com.ning.http.client.filter.FilterException
Copyright © 2013-2017. All Rights Reserved.