retrofit
Interface RequestInterceptor.RequestFacade

Enclosing interface:
RequestInterceptor

public static interface RequestInterceptor.RequestFacade


Method Summary
 void addHeader(String name, String value)
          Add a header to the request.
 void addPathParam(String name, String value)
          Add a path parameter replacement.
 

Method Detail

addHeader

void addHeader(String name,
               String value)
Add a header to the request. This will not replace any existing headers.


addPathParam

void addPathParam(String name,
                  String value)
Add a path parameter replacement. This works exactly like a @Part-annotated method argument.



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