Class TrellisHttpResource

    • Constructor Detail

      • TrellisHttpResource

        @Inject
        public TrellisHttpResource​(ServiceBundler trellis)
        Create a Trellis HTTP resource matcher.
        Parameters:
        trellis - the Trellis application bundle
      • TrellisHttpResource

        public TrellisHttpResource()
        For use with RESTeasy and CDI.
        API Note:
        This construtor is used by CDI runtimes that require a public, no-argument constructor. It should not be invoked directly in user code.
      • TrellisHttpResource

        public TrellisHttpResource​(ServiceBundler trellis,
                                   Map<String,​IRI> extensions,
                                   String baseUrl)
        Create a Trellis HTTP resource matcher.
        Parameters:
        trellis - the Trellis application bundle
        extensions - the extension graph mapping
        baseUrl - a base URL