All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hubspot.chrome.devtools.client.core.io.StreamHandle Maven / Gradle / Ivy

package com.hubspot.chrome.devtools.client.core.io;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * This is either obtained from another method or specifed as `blob:<uuid>` where
 * `<uuid>` is an UUID of a Blob.
 */
public class StreamHandle {
  private String value;

  @JsonCreator
  public StreamHandle(String value) {
    this.value = value;
  }

  @JsonValue
  public String getValue() {
    return value;
  }

  @Override
  public String toString() {
    return value;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy