Class HttpHelper

java.lang.Object
com.codeborne.selenide.impl.HttpHelper

@ParametersAreNonnullByDefault public class HttpHelper extends Object
  • Constructor Details

    • HttpHelper

      public HttpHelper()
  • Method Details

    • getFileNameFromContentDisposition

      @CheckReturnValue @Nonnull public Optional<String> getFileNameFromContentDisposition(Map<String,String> headers)
    • getFileNameFromContentDisposition

      @CheckReturnValue @Nonnull public Optional<String> getFileNameFromContentDisposition(Collection<Map.Entry<String,String>> headers)
    • getFileNameFromContentDisposition

      @CheckReturnValue @Nonnull public Optional<String> getFileNameFromContentDisposition(String headerName, @Nullable String headerValue)
    • getFileName

      @CheckReturnValue @Nonnull public String getFileName(String url)
    • normalize

      @CheckReturnValue @Nonnull public String normalize(String fileName)