Class ResourceLinkMapperFactory

    • Constructor Detail

      • ResourceLinkMapperFactory

        public ResourceLinkMapperFactory()
    • Method Detail

      • nativeResourceLinkMapper

        public IResourceLinkMapper nativeResourceLinkMapper​(javax.servlet.http.HttpServletRequest request)
      • resourceLinkMapper

        public IResourceLinkMapper resourceLinkMapper​(javax.servlet.http.HttpServletRequest request)
      • resourceLinkMapper

        public IResourceLinkMapper resourceLinkMapper​(String baseUrl,
                                                      javax.servlet.http.HttpServletRequest request)
      • resourceLinkMapper

        public IResourceLinkMapper resourceLinkMapper​(String sourceBaseUrl,
                                                      String targetBaseUrl)
        Create a new resource link mapper that maps links starting with the source base URL to the target base URL.
        Parameters:
        sourceBaseUrl - The source base URL of the REST API.
        targetBaseUrl - The target base URL of the REST API.
        Returns:
        A resource link mapper that maps from source to target.
      • webSocketResourceLinkMapper

        public IResourceLinkMapper webSocketResourceLinkMapper​(javax.servlet.http.HttpServletRequest request)