MCPcopy Create free account
hub / github.com/curtcox/JLHTTP / serve

Method serve

src/main/java/net/freeutils/httpserver/HTTPServer.java:1046–1046  ·  view source on GitHub ↗

Serves the given request using the given response. @param req the request to be served @param resp the response to be filled @return an HTTP status code, which will be used in returning a default response appropriate for this status. If this method invocation already sent anything i

(Request req, Response resp)

Source from the content-addressed store, hash-verified

1044 * @throws IOException if an IO error occurs
1045 */
1046 int serve(Request req, Response resp) throws IOException;
1047 }
1048
1049 /**

Callers 1

serveMethod · 0.95

Implementers 3

FileContextHandlersrc/main/java/net/freeutils/httpserver
MethodContextHandlersrc/main/java/net/freeutils/httpserver
HTTPServersrc/main/java/net/freeutils/httpserver

Calls

no outgoing calls

Tested by

no test coverage detected