Interface PreviewSandboxWebRequestResolver

  • All Known Implementing Classes:
    DefaultPreviewSandboxWebRequestResolver

    public interface PreviewSandboxWebRequestResolver
    Interface that is expected to resolve a preview sandbox id.
    Author:
    Bongani Mbigi (bongani-m)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String resolve​(org.springframework.web.context.request.NativeWebRequest webRequest)
      Attempts to resolve a preview sandbox id for the provided request.
    • Method Detail

      • resolve

        String resolve​(org.springframework.web.context.request.NativeWebRequest webRequest)
        Attempts to resolve a preview sandbox id for the provided request.

        If no preview sandbox id is found this method is expected to return null.

        Parameters:
        webRequest - the current web request
        Returns:
        a preview sandbox id or null