![JAR search and dependency download from the Maven repository](/logo.png)
com.payu.sdk.api.http.interceptor.HeaderInterceptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-client Show documentation
Show all versions of api-client Show documentation
A fresh implementation of the PayU API Client for Android
The newest version!
package com.payu.sdk.api.http.interceptor;
import retrofit.RequestInterceptor;
import static com.payu.sdk.api.constants.Headers.ACCEPT_HEADER_JSON;
import static com.payu.sdk.api.constants.Headers.ACCEPT_HEADER_NAME;
public class HeaderInterceptor implements RequestInterceptor {
@Override public void intercept(RequestFacade request) {
request.addHeader(ACCEPT_HEADER_NAME, ACCEPT_HEADER_JSON);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy