Class HttpUtils

java.lang.Object
io.sentry.util.HttpUtils

@Internal public final class HttpUtils extends Object
  • Field Details

  • Constructor Details

    • HttpUtils

      public HttpUtils()
  • Method Details

    • containsSensitiveHeader

      public static boolean containsSensitiveHeader(@NotNull @NotNull String header)
    • filterOutSecurityCookiesFromHeader

      @Nullable public static @Nullable List<String> filterOutSecurityCookiesFromHeader(@Nullable @Nullable Enumeration<String> headers, @Nullable @Nullable String headerName, @Nullable @Nullable List<String> additionalCookieNamesToFilter)
    • filterOutSecurityCookiesFromHeader

      @Nullable public static @Nullable List<String> filterOutSecurityCookiesFromHeader(@Nullable @Nullable List<String> headers, @Nullable @Nullable String headerName, @Nullable @Nullable List<String> additionalCookieNamesToFilter)
    • filterOutSecurityCookies

      @Nullable public static @Nullable String filterOutSecurityCookies(@Nullable @Nullable String cookieString, @Nullable @Nullable List<String> additionalCookieNamesToFilter)
    • isSecurityCookie

      public static boolean isSecurityCookie(@NotNull @NotNull String cookieName, @Nullable @Nullable List<String> additionalCookieNamesToFilter)