public ParamConfig getParamConfig(int index) { ParamConfig baseConfig = base.getParamConfig(index); ParamConfig overrideConfig = override.getParamConfig(index); if (overrideConfig == null) return baseConfig; if (baseConfig == null) return null; return new OverridingParamConfig(baseConfig, overrideConfig); }
public RequestInterceptor getRequestInterceptor() { if (override.getRequestInterceptor() == null) { return base.getRequestInterceptor(); } else if (base.getRequestInterceptor() == null) { return override.getRequestInterceptor(); } else { return new CompositeRequestInterceptor( override.getRequestInterceptor(), base.getRequestInterceptor()); } }
public HttpMethod getHttpMethod() { return override.getHttpMethod() != null ? override.getHttpMethod() : base.getHttpMethod(); }
public String getPath() { return override.getPath() != null ? override.getPath() : base.getPath(); }
public Long getConnectionTimeout() { return override.getConnectionTimeout() != null ? override.getConnectionTimeout() : base.getConnectionTimeout(); }
public Long getSocketTimeout() { return override.getSocketTimeout() != null ? override.getSocketTimeout() : base.getSocketTimeout(); }
public RetryHandler getRetryHandler() { return override.getRetryHandler() != null ? override.getRetryHandler() : base.getRetryHandler(); }
public ErrorHandler getErrorHandler() { return override.getErrorHandler() != null ? override.getErrorHandler() : base.getErrorHandler(); }
public Integer getParamCount() { return override.getParamCount() != null ? override.getParamCount() : base.getParamCount(); }
public StaticParam[] getStaticParams() { return override.getStaticParams() != null ? override.getStaticParams() : base.getStaticParams(); }