public ResourceHandler build ( ) { if ( resourceProviderFactory == null ) { throw new IllegalStateException ( "No resourceProviderFactory has been set" ) ; } return new ResourceHandler ( resourceProviderFactory , pathToServeFrom , defaultFile , extensionToResourceType ) ; }
Creates the handler