393281: Add getters to expose ReferrerPushStrategy Config

This commit is contained in:
Thomas Becker 2012-11-02 14:27:11 +01:00
parent 3d3e077509
commit 971bf4dec7
1 changed files with 30 additions and 0 deletions

View File

@ -122,6 +122,36 @@ public class ReferrerPushStrategy implements PushStrategy
this.referrerPushPeriod = referrerPushPeriod;
}
public Set<Pattern> getPushRegexps()
{
return pushRegexps;
}
public Set<String> getPushContentTypes()
{
return pushContentTypes;
}
public Set<Pattern> getAllowedPushOrigins()
{
return allowedPushOrigins;
}
public Set<Pattern> getUserAgentBlacklist()
{
return userAgentBlacklist;
}
public int getMaxAssociatedResources()
{
return maxAssociatedResources;
}
public int getReferrerPushPeriod()
{
return referrerPushPeriod;
}
@Override
public Set<String> apply(Stream stream, Fields requestHeaders, Fields responseHeaders)
{