Class LooselyTypedRequestExpander

java.lang.Object
com.atlassian.plugin.webresource.models.LooselyTypedRequestExpander

public class LooselyTypedRequestExpander extends Object
Deprecated.
A short-term refactoring measure that puts a strong type around poor ones. Any usage of this class should be replaced with NormalizedRequest.
  • Constructor Details

    • LooselyTypedRequestExpander

      public LooselyTypedRequestExpander(RawRequest r)
      Deprecated.
  • Method Details

    • normalise

      public LooselyTypedRequestExpander normalise()
      Deprecated.
      Interprets the request and determines a smaller equivalent request to make. e.g., if context A and B are requested, but context A is also excluded, the request will normalise to just B. At the moment, this logic DOES NOT expand requestable items in to smaller equivalents. e.g., if context `A` houses web-resources `foo` and `bar`, a request for A will not be considered equivalent to a request for `foo,bar` or `bar,foo`.
    • getIncluded

      public Set<String> getIncluded()
      Deprecated.
    • getExcluded

      public Set<String> getExcluded()
      Deprecated.