Consolidates AWS-style execute-api virtual-host support for WebSocket APIs onto the
existing ApiGatewayExecuteApiHostFilter (added in #2054) plus the WebSocket handler,
instead of adding a second host filter.
- @connections (#1846): ApiGatewayExecuteApiHostFilter now also rewrites a WebSocket
API's @connections management calls (.../{stage}/@connections/{id}) to the canonical
/execute-api/{apiId}/{stage}/... route, behind the same disableExecuteApiEndpoint->404
check. It previously bailed for non-HTTP APIs, so @connections on the execute-api host
was swallowed by the S3 controller.
- $connect (#1871): WebSocketHandler accepts the execute-api host for the WS handshake
and resolves the API region -- from the host's region label when present, else a
cross-region apiId lookup (ApiGatewayV2Service.resolveApiRegion) -- fixing the 403 for
APIs created in a non-default region.
- Widen the filter host regex to accept the region-bearing AWS form
({apiId}.execute-api.{region}.localhost|amazonaws.com) alongside Floci's regionless
built-in suffixes (.execute-api.localhost.floci.io / .localstack.cloud).
- Fix RegionResolver.resolveRegionFromHost to treat only a real region label as the
region and return null for the built-in suffixes -- the old pattern parsed "localhost"
as the region and broke the lookup.
- Remove the separate ExecuteApiSubdomainFilter; host parsing is shared via
ApiGatewayExecuteApiHostFilter.extractApiId.
- Update docs and add Java unit + Node SDK compatibility coverage for both host forms.
Closes#1871Closes#1846