@UsesMappedConfiguration(value=AssetRequestHandler.class) @Marker(value=AssetRequestDispatcher.class) public class AssetDispatcher extends Object implements Dispatcher
SymbolConstants.ASSET_PATH_PREFIX
symbol), and delivers the content therein as a bytestream. Also
handles requests that are simply polling for a change to the file (including checking the ETag in the
request against the asset's checksum.Constructor and Description |
---|
AssetDispatcher(Map<String,AssetRequestHandler> configuration,
PathConstructor pathConstructor,
String assetPathPrefix) |
public AssetDispatcher(Map<String,AssetRequestHandler> configuration, PathConstructor pathConstructor, @Symbol(value="tapestry.asset-path-prefix") String assetPathPrefix)
public boolean dispatch(Request request, Response response) throws IOException
Dispatcher
dispatch
in interface Dispatcher
IOException
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.