The HttpRequest class

Package: R.rsp Class HttpRequest

Object ~~| ~~+--HttpRequest

Directly known subclasses:

public static class HttpRequest extends Object

classes, internal
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 reviewed 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

  • HttpRequest
Documentation reproduced from package R.rsp, version 0.43.2, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.