retrofit
Interface RequestInterceptor


public interface RequestInterceptor

Intercept every request before it is executed in order to add additional data.


Nested Class Summary
static interface RequestInterceptor.RequestFacade
           
 
Field Summary
static RequestInterceptor NONE
          A RequestInterceptor which does no modification of requests.
 
Method Summary
 void intercept(RequestInterceptor.RequestFacade request)
          Called for every request.
 

Field Detail

NONE

static final RequestInterceptor NONE
A RequestInterceptor which does no modification of requests.

Method Detail

intercept

void intercept(RequestInterceptor.RequestFacade request)
Called for every request. Add data using methods on the supplied RequestInterceptor.RequestFacade.



Copyright © 2013 Square, Inc.. All Rights Reserved.