Redirect
Redirect extends BufferedPayload
Causes a http redirect when sent to Response
All Implemented Interfaces:
Methods summary
Modifier and Type | Method |
---|---|
public | __construct ( string httpLocation , int httpStatus = null ) |
public | prepareForResponse ( Response response ) |
public string | getBufferedContents ( ) |
public | toKownPayloadString ( ) |
Methods in detail
-
__construct
public __construct ( string httpLocation , int httpStatus = null )param
string httpLocationint httpStatus -
prepareForResponse
(non-PHPdoc)see
n2n\web\http\payload\impl\n2n\web\http.PayloadSpecified: PayloadOverrides: Payload::prepareForResponse() -
getBufferedContents
string public getBufferedContents ( )Returns the buffered content of this response object. See Payload::isBufferable() for more information.Specified: PayloadOverrides: Payload::getBufferedContents() -
toKownPayloadString
public toKownPayloadString ( )(non-PHPdoc)see
n2n\web\http\payload\impl\n2n\web\http.PayloadSpecified: PayloadOverrides: Payload::toKownPayloadString()