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

    Modifier and Type
    Method
    Description
    resolve(org.springframework.web.context.request.NativeWebRequest webRequest)
    Attempts to resolve a preview sandbox id for the provided request.
  • Method Details

    • 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