Loading src/main/jersey/com/inteligr8/rs/ClientJerseyConfiguration.java +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ package com.inteligr8.rs; /** * This interface defines additional configurations specific to the Jersey * JAX-RS library and its nuances. * Jakarta RS library and its nuances. * * @author brian@inteligr8.com */ Loading src/main/jersey/com/inteligr8/rs/ClientJerseyImpl.java +7 −7 Original line number Diff line number Diff line Loading @@ -47,17 +47,17 @@ public class ClientJerseyImpl extends Client { /** * This method registers the Jersey library as the default provider for the * JAX-RS specification. * Jakarta RS specification. */ @PostConstruct public void register() { if (RuntimeDelegate.getInstance() == null) { this.logger.info("Setting JAX-RS runtime delegate to the Jersey library"); this.logger.info("Setting Jakarta RS runtime delegate to the Jersey library"); RuntimeDelegate.setInstance(new RuntimeDelegateImpl()); } else if (RuntimeDelegate.getInstance() instanceof RuntimeDelegateImpl) { this.logger.info("JAX-RS runtime delegate already the Jersey library"); this.logger.info("Jakarta RS runtime delegate already the Jersey library"); } else { this.logger.warn("Setting JAX-RS runtime delegate to the Jersey library; was: " + RuntimeDelegate.getInstance().getClass().getName()); this.logger.warn("Setting Jakarta RS runtime delegate to the Jersey library; was: " + RuntimeDelegate.getInstance().getClass().getName()); RuntimeDelegate.setInstance(new RuntimeDelegateImpl()); } Loading Loading @@ -86,11 +86,11 @@ public class ClientJerseyImpl extends Client { } /** * This method retrieves a JAX-RS implementation of the specified API with * the specified authorization. * This method retrieves a Jakarta RS implementation of the specified API * with the specified authorization. * * @param authFilter A dynamic authorization filter. * @param apiClass A JAX-RS annotation API class. * @param apiClass A Jakarta RS annotation API class. * @return An instance of the API class. */ @Override Loading Loading
src/main/jersey/com/inteligr8/rs/ClientJerseyConfiguration.java +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ package com.inteligr8.rs; /** * This interface defines additional configurations specific to the Jersey * JAX-RS library and its nuances. * Jakarta RS library and its nuances. * * @author brian@inteligr8.com */ Loading
src/main/jersey/com/inteligr8/rs/ClientJerseyImpl.java +7 −7 Original line number Diff line number Diff line Loading @@ -47,17 +47,17 @@ public class ClientJerseyImpl extends Client { /** * This method registers the Jersey library as the default provider for the * JAX-RS specification. * Jakarta RS specification. */ @PostConstruct public void register() { if (RuntimeDelegate.getInstance() == null) { this.logger.info("Setting JAX-RS runtime delegate to the Jersey library"); this.logger.info("Setting Jakarta RS runtime delegate to the Jersey library"); RuntimeDelegate.setInstance(new RuntimeDelegateImpl()); } else if (RuntimeDelegate.getInstance() instanceof RuntimeDelegateImpl) { this.logger.info("JAX-RS runtime delegate already the Jersey library"); this.logger.info("Jakarta RS runtime delegate already the Jersey library"); } else { this.logger.warn("Setting JAX-RS runtime delegate to the Jersey library; was: " + RuntimeDelegate.getInstance().getClass().getName()); this.logger.warn("Setting Jakarta RS runtime delegate to the Jersey library; was: " + RuntimeDelegate.getInstance().getClass().getName()); RuntimeDelegate.setInstance(new RuntimeDelegateImpl()); } Loading Loading @@ -86,11 +86,11 @@ public class ClientJerseyImpl extends Client { } /** * This method retrieves a JAX-RS implementation of the specified API with * the specified authorization. * This method retrieves a Jakarta RS implementation of the specified API * with the specified authorization. * * @param authFilter A dynamic authorization filter. * @param apiClass A JAX-RS annotation API class. * @param apiClass A Jakarta RS annotation API class. * @return An instance of the API class. */ @Override Loading