Skip to content

Conversation

SentryMan
Copy link
Collaborator

Now when using ServerContext, we can write to the context response from an aspect and the controller method's result serialization can be skipped.

Fixes #210 from a certain point of view.

@SentryMan SentryMan changed the title Update ControllerMethodWriter.java Don't serialize twice when Javalin Context is already written Apr 26, 2023
@SentryMan SentryMan changed the title Don't serialize twice when Javalin Context is already written Don't serialize twice when Javalin Context is already committed Apr 26, 2023
@rbygrave rbygrave added this to the 1.39 milestone Apr 30, 2023
@rbygrave rbygrave merged commit d0c74c8 into avaje:master Apr 30, 2023
@SentryMan SentryMan deleted the ctx-response branch July 24, 2023 14:38
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.

Aspect + RequestContextResolver: Support response reading in method interceptor
2 participants