![JAR search and dependency download from the Maven repository](/logo.png)
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
package com.launchdarkly.testhelpers.httptest;
import javax.servlet.http.HttpServletResponse;
/**
* 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 {@link HttpServletResponse}
*/
public void apply(RequestContext context);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy