Class MappedViewPath

java.lang.Object
ru.vyarus.guicey.gsp.app.rest.log.MappedViewPath
Direct Known Subclasses:
HiddenViewPath

public class MappedViewPath extends Object
Gsp application view rest mapping. Represent mapping of sub url into prefixed rest.

Mapping scheme: /[mapping path] -> [rest prefix]/path.

Since:
05.12.2019
  • Constructor Details

  • Method Details

    • getPath

      public ViewPath getPath()
      Returns:
      hidden rest path
    • getMapping

      public String getMapping()
      Returned url never starts with slash, but alwasys ends with slash. Empty string used for root path.
      Returns:
      resource prefix mapping url
    • getPrefix

      public String getPrefix()
      Returned prefix starts and ends with slash.
      Returns:
      rest prefix used for matching.
    • getMappedUrl

      public String getMappedUrl()
      Returns:
      server pages application url, leading to this rest method
    • toString

      public String toString()
      Overrides:
      toString in class Object