Interface WellKnownResourceFactory.WellKnownHandler

Enclosing class:
WellKnownResourceFactory

public static interface WellKnownResourceFactory.WellKnownHandler
Locates a resource for a .well-known/XXX path
  • Method Summary

    Modifier and Type
    Method
    Description
    Identifies the part of the path following .well-known which will map to this handler
    Find a resource which will handle the well-known request.
  • Method Details

    • getWellKnownName

      String getWellKnownName()
      Identifies the part of the path following .well-known which will map to this handler
      Returns:
    • locateWellKnownResource

      Resource locateWellKnownResource(Resource hostRes)
      Find a resource which will handle the well-known request. This should generally redirect to the appropriate location. It should not perform the role of the service being looked up.