Skip to content

Add another handler method into JsonServiceExporter with jakarta request and response objects#357

Open
cyb3r4nt wants to merge 1 commit intobriandilley:masterfrom
cyb3r4nt:add-jakarta-support-for-json-service-exporter
Open

Add another handler method into JsonServiceExporter with jakarta request and response objects#357
cyb3r4nt wants to merge 1 commit intobriandilley:masterfrom
cyb3r4nt:add-jakarta-support-for-json-service-exporter

Conversation

@cyb3r4nt
Copy link
Contributor

Newer Spring Framework uses the jakarta.servlet.http.HttpServletRequest and jakarta.servlet.http.HttpServletResponse objects from the jakarta.* namespace.

If JsonRpcServer is registered with @AutoJsonRpcServiceImpl in newer Spring Framework, then request fail due to missing method in a web handler.

Newer org.springframework.web.HttpRequestHandler has a signature with jakarta objects, and if JsonServiceExporter has a method with same signature, then it can work with newer Spring MVC.
Support in JsonRpcServer is already present.

…est and response objects

Newer Spring Framework uses jakarta.servlet.http.HttpServletRequest
and jakarta.servlet.http.HttpServletResponse objects from the jakarta.* namespace.

If JsonRpcServer is registered with @AutoJsonRpcServiceImpl in newer
Spring Framework, then request fail due to missing method in a web handler.

Newer org.springframework.web.HttpRequestHandler has a signature with jakarta objects,
and if JsonServiceExporter has a method with same signature,
then it can work with newer Spring MVC.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant