This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 4b5e269f83 Fix build
4b5e269f83 is described below

commit 4b5e269f83b0e7e7e7c1075f5b52be21d128cdcd
Author: Robert Lazarski <[email protected]>
AuthorDate: Tue Dec 9 08:01:58 2025 -1000

    Fix build
---
 .../axis2/transport/h2/impl/httpclient5/H2TransportSender.java   | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git 
a/modules/transport-h2/src/main/java/org/apache/axis2/transport/h2/impl/httpclient5/H2TransportSender.java
 
b/modules/transport-h2/src/main/java/org/apache/axis2/transport/h2/impl/httpclient5/H2TransportSender.java
index 3cd6a9e038..1320fbef6e 100644
--- 
a/modules/transport-h2/src/main/java/org/apache/axis2/transport/h2/impl/httpclient5/H2TransportSender.java
+++ 
b/modules/transport-h2/src/main/java/org/apache/axis2/transport/h2/impl/httpclient5/H2TransportSender.java
@@ -27,9 +27,10 @@ import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.context.OperationContext;
 import org.apache.axis2.builder.Builder;
-import org.apache.axis2.description.AxisConfiguration;
+import org.apache.axis2.engine.AxisConfiguration;
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.description.TransportOutDescription;
+import org.apache.axis2.engine.Handler;
 import org.apache.axis2.engine.Phase;
 import org.apache.axis2.kernel.MessageFormatter;
 import org.apache.axis2.kernel.http.HTTPConstants;
@@ -543,10 +544,10 @@ public class H2TransportSender extends 
AbstractHTTPTransportSender {
             java.util.List<Phase> inFlowPhases = axisConfig.getInFlowPhases();
             for (Phase phase : inFlowPhases) {
                 if ("Transport".equals(phase.getName())) {
-                    java.util.List<HandlerDescription> handlers = 
phase.getHandlers();
-                    for (HandlerDescription handler : handlers) {
+                    java.util.List<Handler> handlers = phase.getHandlers();
+                    for (Handler handler : handlers) {
                         if ("JSONMessageHandler".equals(handler.getName())) {
-                            String handlerClass = handler.getClassName();
+                            String handlerClass = 
handler.getHandlerDesc().getClassName();
                             if (handlerClass.contains(".json.moshi.")) {
                                 log.debug("Detected Moshi JSONMessageHandler: 
" + handlerClass);
                                 return "MOSHI";

Reply via email to