Document RequestListener
Change-Id: I28ce9e3c0a32f4b9594ecc4ddb2713f41dc1b9b8 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -16,6 +16,12 @@ package com.google.gerrit.server;
|
|||||||
|
|
||||||
import com.google.gerrit.extensions.annotations.ExtensionPoint;
|
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
|
@ExtensionPoint
|
||||||
public interface RequestListener {
|
public interface RequestListener {
|
||||||
void onRequest(RequestInfo requestInfo);
|
void onRequest(RequestInfo requestInfo);
|
||||||
|
|||||||
Reference in New Issue
Block a user