Class AppEngineTargetChecks
java.lang.Object
io.github.flink.gcp.connector.cloudtasks.sink.AppEngineTargetChecks
Checks and normalizes App Engine request fields shared by all sink APIs.
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.cloud.tasks.v2.AppEngineRoutingcheckAndNormalizeRouting(com.google.cloud.tasks.v2.AppEngineRouting value, String name) Removes an empty routing value and rejects its output-only host field.static voidcheckHeaderName(String name) Rejects headers that Cloud Tasks or App Engine owns.static StringcheckRelativeUri(String value, String name) Validates an App Engine relative URI.
-
Method Details
-
checkRelativeUri
Validates an App Engine relative URI. -
checkHeaderName
Rejects headers that Cloud Tasks or App Engine owns. -
checkAndNormalizeRouting
@Nullable public static com.google.cloud.tasks.v2.AppEngineRouting checkAndNormalizeRouting(@Nullable com.google.cloud.tasks.v2.AppEngineRouting value, String name) Removes an empty routing value and rejects its output-only host field.
-