Access Jetty connector ports through NetworkConnector
MSALJetty 9 moved getPort() from Connector to NetworkConnector. Cast legacy connector receivers to the network connector interface when upgrading Jetty.
org. openrewrite. java. migrate. jakarta. JettyConnectorGetPortmod run . --recipe= org. openrewrite. java. migrate. jakarta. JettyConnectorGetPortInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.