@ RequestHandler ( dynamic = true ) public void onGet ( Request . In . Get event , IOSubchannel channel ) throws ParseException , IOException { int prefixSegs = resourcePattern . matches ( event . requestUri ( ) ) ; if ( prefixSegs < 0 ) { return ; } if ( contentDirectory == null ) { getFromUri ( event , channel , prefixSegs ) ; } else { getFromFileSystem ( event , channel , prefixSegs ) ; } }
Handles a GET request .