R.rsp (version 0.46.0)

FileRspResponse: The FileRspResponse class

Description

Package: R.rsp
Class FileRspResponse

Object
~~|
~~+--RspResponse
~~~~~~~|
~~~~~~~+--FileRspResponse

Directly known subclasses:
HttpDaemonRspResponse

public static class FileRspResponse
extends RspResponse

Usage

FileRspResponse(file=stdout(), path=NULL, overwrite=FALSE, ...)

Arguments

file

A filename or a connection to write responses to.

path

An optional path to the file.

overwrite

If FALSE, an error is thrown if the output file already exists, otherwise not.

...

Not used.

Fields and Methods

Methods:

flush-
getAbsolutePathGets the absolute pathname to the current RSP file.
getNameGets the (base)name of the current RSP file.
getOutputGets the output for an RSP response.
getPathGets the path of the directory of the current RSP file.
writeResponse-

Methods inherited from RspResponse:
flush, writeResponse

Methods inherited from Object:
$, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clearLookupCache, clone, detach, equals, extend, finalize, getEnvironment, getFieldModifier, getFieldModifiers, getFields, getInstantiationTime, getStaticInstance, hasField, hashCode, ll, load, names, objectSize, print, save

Author

Henrik Bengtsson