393281: Add getters to expose ReferrerPushStrategy Config
This commit is contained in:
parent
3d3e077509
commit
971bf4dec7
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue