/** * Sets the base resources for this context. * * @param resources A list of strings representing the base resources to serve static * content for the context. Any string accepted by Resource.newResource(String) * may be passed and the call is equivalent to {@link #setBaseResource(Resource...)}} */publicvoid setBaseResource(String... resources) {
handler.setBaseResource(newResourceCollection(resources));
}

/** * Sets the base resources for this context. * * @param baseResources The list of resources to be used as the base for all static * content of this context. */publicvoid setBaseResource(Resource... baseResources) {
handler.setBaseResource(newResourceCollection(baseResources));
}

/** * Sets the base resources for this context. * * @param baseResources The list of resources to be used as the base for all static * content of this context. */publicvoid setBaseResource(Resource... baseResources) {
handler.setBaseResource(newResourceCollection(baseResources));
}

/** * Sets the base resources for this context. * * @param resources A list of strings representing the base resources to serve static * content for the context. Any string accepted by Resource.newResource(String) * may be passed and the call is equivalent to {@link #setBaseResource(Resource...)}} */publicvoid setBaseResource(String... resources) {
handler.setBaseResource(newResourceCollection(resources));
}

/** * Sets the base resources for this context. * * @param resources A list of strings representing the base resources to serve static * content for the context. Any string accepted by Resource.newResource(String) * may be passed and the call is equivalent to {@link #setBaseResource(Resource...)}} */publicvoid setBaseResource(String... resources) {
handler.setBaseResource(newResourceCollection(resources));
}

/** * Sets the base resources for this context. * * @param baseResources The list of resources to be used as the base for all static * content of this context. */publicvoid setBaseResource(Resource... baseResources) {
handler.setBaseResource(newResourceCollection(baseResources));
}