public interface UrlParser
Created by JessYan on 17/07/2017 17:44 Contact me Follow me ================================================
| Modifier and Type | Method and Description |
|---|---|
void |
init(RetrofitUrlManager retrofitUrlManager)
这里可以做一些初始化操作
|
okhttp3.HttpUrl |
parseUrl(okhttp3.HttpUrl domainUrl,
okhttp3.HttpUrl url)
|
void init(RetrofitUrlManager retrofitUrlManager)
retrofitUrlManager - RetrofitUrlManagerokhttp3.HttpUrl parseUrl(okhttp3.HttpUrl domainUrl,
okhttp3.HttpUrl url)
domainUrl - 用于替换的 URL 地址url - 旧 URL 地址