FileRspResponse

0th

Percentile

The FileRspResponse class

Package: R.rsp Class FileRspResponse Object ~~| ~~+--RspResponse ~~~~~~~| ~~~~~~~+--FileRspResponse Directly known subclasses: HttpDaemonRspResponse public static class FileRspResponse extends RspResponse

Keywords
classes
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: rll{ flush Flushes the response buffer. getAbsolutePath Gets the absolute pathname to the current RSP file. getName Gets the (base)name of the current RSP file. getOutput Gets the output for an RSP response. getPath Gets the path of the directory of the current RSP file. write Writes an RSP response to the predefined output file. } Methods inherited from RspResponse: flush, import, write Methods inherited from Object: $, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clearLookupCache, clone, detach, equals, extend, finalize, gc, getEnvironment, getFieldModifier, getFieldModifiers, getFields, getInstantiationTime, getStaticInstance, hasField, hashCode, ll, load, objectSize, print, registerFinalizer, save

Aliases
  • FileRspResponse
Documentation reproduced from package R.rsp, version 0.6.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.