protected static class AbstractVersionStrategy.FileNameVersionPathStrategy extends ObjectSE implements VersionPathStrategy
VersionPathStrategy(例: "path/foo-{version}.css"。| 修飾子 | コンストラクターと説明 |
|---|---|
protected | FileNameVersionPathStrategy() |
| 修飾子と型 | メソッドと説明 |
|---|---|
StringSE | addVersion(StringSE requestPath, StringSE version) 指定されたリクエストパスにバージョンを追加します。 |
StringSE | extractVersion(StringSE requestPath) リクエストパスからリソースバージョンを抽出します。 |
StringSE | removeVersion(StringSE requestPath, StringSE version) リクエストパスからバージョンを削除します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE@Nullable public StringSE extractVersion(StringSE requestPath)
VersionPathStrategyVersionPathStrategy の extractVersion requestPath - チェックするリクエストパス null (見つからなかった場合)public StringSE removeVersion(StringSE requestPath, StringSE version)
VersionPathStrategyVersionPathStrategy.extractVersion(String) を介して抽出されたと想定されています。VersionPathStrategy の removeVersion requestPath - 解決されるリソースのリクエストパス version - VersionPathStrategy.extractVersion(String) から取得したバージョン public StringSE addVersion(StringSE requestPath, StringSE version)
VersionPathStrategyVersionPathStrategy の addVersion requestPath - requestPathversion - バージョン