Package io.milton.http
Interface WellKnownResourceFactory.WellKnownHandler
- Enclosing class:
- WellKnownResourceFactory
public static interface WellKnownResourceFactory.WellKnownHandler
Locates a resource for a .well-known/XXX path
-
Method Summary
Modifier and TypeMethodDescriptionIdentifies the part of the path following .well-known which will map to this handlerlocateWellKnownResource(Resource hostRes) 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
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.
-