R - the request type.B - the concrete builder.public abstract class BaseRequestBuilder<R,B extends BaseRequestBuilder<R,B>> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
host |
protected String |
listenerPath |
protected String |
rawODataPath |
protected String |
rawQueryPath |
protected HttpScheme |
scheme |
| Constructor and Description |
|---|
BaseRequestBuilder() |
| Modifier and Type | Method and Description |
|---|---|
abstract R |
build() |
protected String |
buildRawBaseUri(HttpScheme scheme,
String host,
String listenerPath) |
protected String |
buildRawRequestUri(String rawBaseUri,
String rawODataPath,
String rawQueryPath) |
protected abstract B |
getThis() |
B |
withHost(String host) |
B |
withListenerPath(String listenerPath) |
B |
withRawODataPath(String rawODataPath) |
B |
withRawQueryPath(String rawQueryPath) |
B |
withScheme(HttpScheme scheme) |
protected String rawODataPath
protected String rawQueryPath
protected HttpScheme scheme
protected String host
protected String listenerPath
protected abstract B getThis()
public abstract R build()
protected String buildRawRequestUri(String rawBaseUri, String rawODataPath, String rawQueryPath)
protected String buildRawBaseUri(HttpScheme scheme, String host, String listenerPath)
public B withScheme(HttpScheme scheme)
Copyright © 2024 MuleSoft, Inc.. All rights reserved.