n2n Page Rocket 1 API

n2n\web\http\payload

­Resource­Payload

abstract ResourcePayload implements Payload
Extend this class for an easy implemenation of a not bufferable Payload. See {@Payload::isBufferable() for more information.

All Implemented Interfaces:

SubTypes

Methods summary

Modifier and Type Method
public bool isBufferable ( )
public string getBufferedContents ( )

Methods in detail

  • isBufferable

    bool public isBufferable ( )

  • Specified: Payload
    Overrides: Payload::isBufferable()
  • getBufferedContents

    string public getBufferedContents ( )
    Returns the buffered content of this response object. See Payload::isBufferable() for more information.
    see
    return
    string
    throws
    IllegalStateException if Payload returns false.
    Specified: Payload
    Overrides: Payload::getBufferedContents()