
com.launchdarkly.testhelpers.httptest.Handler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of test-helpers Show documentation
Show all versions of test-helpers Show documentation
LaunchDarkly Java test helpers
The newest version!
package com.launchdarkly.testhelpers.httptest;
/**
* An object or lambda that handles HTTP requests for a {@link HttpServer}.
*
* Use the factory methods in {@link Handlers} to create standard implementations.
*/
@FunctionalInterface
public interface Handler {
/**
* Processes the request.
*
* @param context a {@link RequestContext} that provides both the request information
* and the ability to modify the response
*/
public void apply(RequestContext context);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy