com.linkedin.restli.client.config.RequestConfigProviderBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of parseq-restli-client Show documentation
Show all versions of parseq-restli-client Show documentation
Uploads all artifacts belonging to configuration ':parseq-restli-client:archives'
package com.linkedin.restli.client.config;
import com.linkedin.restli.client.InboundRequestContextFinder;
import com.linkedin.restli.client.ParSeqRestliClientConfig;
import com.linkedin.restli.client.ParSeqRestliClientConfigBuilder;
class RequestConfigProviderBuilder {
private final ParSeqRestliClientConfigBuilder _config = new ParSeqRestliClientConfigBuilder();
private InboundRequestContextFinder _inboundRequestFinder;
public RequestConfigProvider build() throws RequestConfigKeyParsingException {
return new RequestConfigProviderImpl(_inboundRequestFinder, _config.build());
}
public RequestConfigProviderBuilder addConfig(ParSeqRestliClientConfig config) {
_config.addConfig(config);
return this;
}
public RequestConfigProviderBuilder setInboundRequestFinder(InboundRequestContextFinder inboundRequestFinder) {
_inboundRequestFinder = inboundRequestFinder;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy