/**
 * Response module.
 * @namespace serverside.response
 * @author Taka Okunishi
 *
 */

var prototype = require('./_prototype.js');
/**
 * Define an object property getter to access prototype property.
 * @private
 */
function getPrototypeProperty (key) {
    return {
        enumerable: true,
        get: function () {
            return prototype[key];
        }
    };
}

// Export prototype properties with lazy loading.
Object.defineProperties(exports, {
    _defineHtmlSendFunction: getPrototypeProperty('_defineHtmlSendFunction'),
    _getLocaledFilenamesFromContext: getPrototypeProperty('_getLocaledFilenamesFromContext'),
    _resolveFileNames: getPrototypeProperty('_resolveFileNames'),
    _sendFile: getPrototypeProperty('_sendFile'),
    defineResPageNotFound: getPrototypeProperty('defineResPageNotFound'),
    defineResRedirect: getPrototypeProperty('defineResRedirect'),
    defineResSomethingWrong: getPrototypeProperty('defineResSomethingWrong')

});

