Document RequestListener

Change-Id: I28ce9e3c0a32f4b9594ecc4ddb2713f41dc1b9b8
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2019-12-13 15:41:45 +01:00
parent 3206b1d882
commit f613096481

View File

@@ -16,6 +16,12 @@ package com.google.gerrit.server;
import com.google.gerrit.extensions.annotations.ExtensionPoint;
/**
* Extension point that allows to listen to incoming requests.
*
* <p>This extension point is invoked each time the server executes a request from a user (REST
* request, SSH request, Git push/fetch).
*/
@ExtensionPoint
public interface RequestListener {
void onRequest(RequestInfo requestInfo);