Skip to content

AwsServletContext requiring Context in ctor is a pain #44

@dmcg

Description

@dmcg

I know that this isn't your use-case, but...

... I'm using the Servlet interfaces to build a binding between Lambda and web-abstractions that overlay routing on top of a single servlet.

So I need an AwsServletContext to pass to the init() of their servlet. But I can't have one until the first request is made, because AwsServletContext needs Context. But only for logging, which doesn't seem a good coupling to me.

Could you break this dependency somehow?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions