aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/transport/ProtocolV2Hook.java
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/transport/ProtocolV2Hook.java')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/ProtocolV2Hook.java14
1 files changed, 12 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ProtocolV2Hook.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ProtocolV2Hook.java
index d7626df3fa..2caecbe843 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ProtocolV2Hook.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ProtocolV2Hook.java
@@ -24,6 +24,8 @@ public interface ProtocolV2Hook {
};
/**
+ * Handle capabilities request
+ *
* @param req
* the capabilities request
* @throws ServiceMayNotContinueException
@@ -36,6 +38,8 @@ public interface ProtocolV2Hook {
}
/**
+ * Handle ls-refs request
+ *
* @param req
* the ls-refs request
* @throws ServiceMayNotContinueException
@@ -48,8 +52,12 @@ public interface ProtocolV2Hook {
}
/**
- * @param req the fetch request
- * @throws ServiceMayNotContinueException abort; the message will be sent to the user
+ * Handle fetch request
+ *
+ * @param req
+ * the fetch request
+ * @throws ServiceMayNotContinueException
+ * abort; the message will be sent to the user
*/
default void onFetch(FetchV2Request req)
throws ServiceMayNotContinueException {
@@ -57,6 +65,8 @@ public interface ProtocolV2Hook {
}
/**
+ * Handle object-info request
+ *
* @param req
* the object-info request
* @throws ServiceMayNotContinueException