You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/11/13 13:42:33 UTC
[commons-vfs] branch master updated: Added a logging event at the very start of the handle method
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git
The following commit(s) were added to refs/heads/master by this push:
new 1b0ec86a Added a logging event at the very start of the handle method
1b0ec86a is described below
commit 1b0ec86a46e152a2b5b470991460da3ebfdae7bb
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Nov 13 08:42:28 2022 -0500
Added a logging event at the very start of the handle method
---
.../src/test/java/org/apache/commons/vfs2/util/NHttpFileServer.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/util/NHttpFileServer.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/util/NHttpFileServer.java
index 381e88c8..a04d3c84 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/util/NHttpFileServer.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/util/NHttpFileServer.java
@@ -92,6 +92,7 @@ public class NHttpFileServer {
@Override
public void handle(final Message<HttpRequest, Void> message, final ResponseTrigger responseTrigger, final HttpContext context)
throws HttpException, IOException {
+ println("Handling " + message + " in " + context);
final HttpRequest request = message.getHead();
final String method = request.getMethod().toUpperCase(Locale.ROOT);
if (!method.equals("GET") && !method.equals("HEAD") && !method.equals("POST")) {