Bluestep JS Documentation
    Preparing search index...

    Class FetchedResource

    TODO

    TODO
    

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking, which may be 0, or 0 when end of stream is detected.

      Returns number

    • Returns the character set.

      Returns string

    • Closes this input stream and releases any system resources associated with the stream.

      Returns void

    • Returns the response code.

      Returns number

    • Returns the file name.

      Returns string

    • Returns if there is content.

      Returns string

    • Use httpHeaders() instead because the key lookup is case sensitive and this may not be convenient since header may not be same case from different servers. Returns the response headers. If the header contains multiple values, they are joined with a newline character.

      Returns { [key: string]: string }

    • Returns the response headers.

      Returns HttpHeaders

    • Marks the current position in this input stream.

      Parameters

      • readlimit: number

      Returns void

    • Tests if this input stream supports the mark and reset methods.

      Returns boolean

    • Returns the response message.

      Returns string

    • Returns the mime type.

      Returns string

    • Reads the next byte of data from the input stream.

      Returns number

    • Reads some number of bytes from the input stream and stores them into the buffer array b.

      Parameters

      Returns number

    • Reads up to len bytes of data from the input stream into an array of bytes.

      Parameters

      Returns number

    • Reads the requested number of bytes from the input stream into the given byte array.

      Parameters

      Returns number

    • Reads up to a specified number of bytes from the input stream.

      Parameters

      • len: number

      Returns ByteArray

    • Repositions this stream to the position at the time the mark method was last called on this input stream.

      Returns void

    • Skips over and discards n bytes of data from this input stream.

      Parameters

      • n: number

      Returns number

    • Reads all bytes from this input stream and writes the bytes to the given output stream in the order that they are read.

      Parameters

      Returns number