public static boolean sendStaticContent(
            Request.In event, IOSubchannel channel,
            Function<String, URL> resolver, MaxAgeCalculator maxAgeCalculator) {
        if (sendStaticContent(
            event.httpRequest(), channel, resolver, maxAgeCalculator)) {
            event.setResult(true);
            event.stop();
            return true;
        }
        return false;
    }
public static boolean sendStaticContent ( Request . In event , IOSubchannel channel , Function < String , URL > resolver , MaxAgeCalculator maxAgeCalculator ) { if ( sendStaticContent ( event . httpRequest ( ) , channel , resolver , maxAgeCalculator ) ) { event . setResult ( true ) ; event . stop ( ) ; return true ; } return false ; }
Shorthand for invoking
{@link #sendStaticContent(HttpRequest, IOSubchannel, Function, MaxAgeCalculator)}
with the {@link HttpRequest} from the event. Also sets the result
of the event to `true` and invokes {@link Event#stop()}
if a response was sent.

@param event the event
@param channel the channel
@param resolver the resolver
@param maxAgeCalculator the max age calculator, if `null`
the default calculator is used.
@return `true` if a response was sent
@throws ParseException the parse exception