Skip to content

Commit

Permalink
Add note on the public resource handler
Browse files Browse the repository at this point in the history
  • Loading branch information
hugithordarson committed Jul 20, 2023
1 parent 401da0c commit 2c8549d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ng-appserver/src/main/java/ng/appserver/NGApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,10 @@ public NGResponse dispatchRequest( final NGRequest request ) {

/**
* Invoked to generate a response if no requestHandler was found for the given request. Essentially a 404 response.
*
* CHECKME: This currently incorporates a very experimental "public resources" handler, essentially a plain web server. This is not final // Hugi 2023-07-20
*/
private NGResponse noHandlerResponse( final NGRequest request ) {
// FIXME: Very, very experimental public resource handler.
final String resourcePath = request.uri();

if( resourcePath.isEmpty() ) {
Expand Down

0 comments on commit 2c8549d

Please sign in to comment.