Interface NetworkRequest

  • All Known Implementing Classes:
    EmptyRequest

    public interface NetworkRequest
    Simple request
    • Method Detail

      • getInputStream

        java.io.InputStream getInputStream()
        The request as an input stream is returned to the caller
        Returns:
        The inputstream that represents the request
      • getStartTimeInMs

        long getStartTimeInMs()
        Gets the start time in ms when this request started
        Returns:
        The start time in ms when the request started
      • release

        default boolean release()
        Release any resource this request is holding. By default it returns false so this method can be compatible with ReferenceCounted.release()
        Returns:
        true if and only if the reference count became 0 and this object has been deallocated