|
|
|
@ -176,7 +176,7 @@ public class WebFluxProperties { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Whether the API version is required with each request. |
|
|
|
* Whether the API version is required with each request. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private boolean required = false; |
|
|
|
private Boolean required; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Default version that should be used for each request. |
|
|
|
* Default version that should be used for each request. |
|
|
|
@ -192,18 +192,18 @@ public class WebFluxProperties { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Whether supported versions should be detected from controllers. |
|
|
|
* Whether supported versions should be detected from controllers. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private boolean detectSupported = true; |
|
|
|
private Boolean detectSupported; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* How version details should be inserted into requests. |
|
|
|
* How version details should be inserted into requests. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private final Use use = new Use(); |
|
|
|
private final Use use = new Use(); |
|
|
|
|
|
|
|
|
|
|
|
public boolean isRequired() { |
|
|
|
public Boolean getRequired() { |
|
|
|
return this.required; |
|
|
|
return this.required; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setRequired(boolean required) { |
|
|
|
public void setRequired(Boolean required) { |
|
|
|
this.required = required; |
|
|
|
this.required = required; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -223,18 +223,18 @@ public class WebFluxProperties { |
|
|
|
this.supported = supported; |
|
|
|
this.supported = supported; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Use getUse() { |
|
|
|
public Boolean getDetectSupported() { |
|
|
|
return this.use; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public boolean isDetectSupported() { |
|
|
|
|
|
|
|
return this.detectSupported; |
|
|
|
return this.detectSupported; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setDetectSupported(boolean detectSupported) { |
|
|
|
public void setDetectSupported(Boolean detectSupported) { |
|
|
|
this.detectSupported = detectSupported; |
|
|
|
this.detectSupported = detectSupported; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Use getUse() { |
|
|
|
|
|
|
|
return this.use; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static class Use { |
|
|
|
public static class Use { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
@ -245,7 +245,7 @@ public class WebFluxProperties { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Use the query parameter with the given name to obtain the version. |
|
|
|
* Use the query parameter with the given name to obtain the version. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private String requestParameter; |
|
|
|
private String queryParameter; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Use the path segment at the given index to obtain the version. |
|
|
|
* Use the path segment at the given index to obtain the version. |
|
|
|
@ -265,12 +265,12 @@ public class WebFluxProperties { |
|
|
|
this.header = header; |
|
|
|
this.header = header; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String getRequestParameter() { |
|
|
|
public String getQueryParameter() { |
|
|
|
return this.requestParameter; |
|
|
|
return this.queryParameter; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setRequestParameter(String queryParameter) { |
|
|
|
public void setQueryParameter(String queryParameter) { |
|
|
|
this.requestParameter = queryParameter; |
|
|
|
this.queryParameter = queryParameter; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Integer getPathSegment() { |
|
|
|
public Integer getPathSegment() { |
|
|
|
|