HttpRequest: The HttpRequest class

Description Usage Arguments Fields and Methods Author(s)


Package: R.rsp
Class HttpRequest


Directly known subclasses:

public static class HttpRequest
extends Object


HttpRequest(requestUri=NULL, parameters=list(), ...)



A character string of the requested URI.


A named list of parameter values.


Not used.

Fields and Methods


as.character Returns a short string describing the HTTP request.
getContentLength Gets the length of contents.
getContentType Gets the MIME type of the body of the request.
getContextPath -
getDateHeader -
getHeader -
getParameter Gets a parameter.
getParameters Gets all parameters.
getProtocol Gets the name and version of the protocol used to make this request.
getQueryString -
getRealPath Gets the file system path for a given URI.
getRemoteAddress Gets the IP address of the client that sent the request.
getRemoteHost Gets the fully qualified name of the client that sent the request.
getRemoteUser -
getRequestUri -
getRequestUrl -
getScheme Gets the scheme used to make this request.
getServerName Gets the host name of the server that revieved the request.
getServerPort Gets the port number on which this request was received.
getServletPath -
hasParameter Checks if a parameter exists.
nbrOfParameters Gets the number of parameters.

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


Henrik Bengtsson

R.rsp documentation built on Jan. 11, 2018, 1:10 a.m.