public interface ParseNetworkInterceptor
ParseNetworkInterceptor
is used to observe requests going out and the corresponding
responses coming back in.Modifier and Type | Interface and Description |
---|---|
static interface |
ParseNetworkInterceptor.Chain
Chain is used to chain the interceptors. |
Modifier and Type | Method and Description |
---|---|
ParseHttpResponse |
intercept(ParseNetworkInterceptor.Chain chain)
Intercepts a
ParseHttpRequest with the help of
ParseNetworkInterceptor.Chain and returns the intercepted
ParseHttpResponse . |
ParseHttpResponse intercept(ParseNetworkInterceptor.Chain chain) throws IOException
ParseHttpRequest
with the help of
ParseNetworkInterceptor.Chain
and returns the intercepted
ParseHttpResponse
.chain
- The helper chain we use to get the request, proceed the request and receive the
response.IOException