Skip to content

A small Java agent that executes a Runnable body provided via a HTTP header before HttpRequest is handled

Notifications You must be signed in to change notification settings

MastaP/lambda-injector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lambda Injector is a Java Agent which enables to inject a body of a Runnable as a HTTP header and execute it before the HttpServletRequest is handled.

It might be useful in testing or debugging, when you don't want to recompile your project.

Add the following to the application server startup command line:

-javaagent:"path/to/lambdainjector-agent.jar"

Add HTTP header 'lambda_runnable_body=Thread.dumpStack();' to your request, profit!

About

A small Java agent that executes a Runnable body provided via a HTTP header before HttpRequest is handled

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages