R.rsp (version 0.46.0)

HttpRequest: The HttpRequest class

Description

Package: R.rsp
Class HttpRequest

Object
~~|
~~+--HttpRequest

Directly known subclasses:

public static class HttpRequest
extends Object

Usage

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

Arguments

requestUri

A character string of the requested URI.

parameters

A named list of parameter values.

...

Not used.

Fields and Methods

Methods:

as.characterReturns a short string describing the HTTP request.
getContentLengthGets the length of contents.
getContentTypeGets the MIME type of the body of the request.
getContextPath-
getDateHeader-
getHeader-
getParameterGets a parameter.
getParametersGets all parameters.
getProtocolGets the name and version of the protocol used to make this request.
getQueryString-
getRealPathGets the file system path for a given URI.
getRemoteAddressGets the IP address of the client that sent the request.
getRemoteHostGets the fully qualified name of the client that sent the request.
getRemoteUser-
getRequestUri-
getRequestUrl-
getSchemeGets the scheme used to make this request.
getServerNameGets the host name of the server that reviewed the request.
getServerPortGets the port number on which this request was received.
getServletPath-
hasParameterChecks if a parameter exists.
nbrOfParametersGets 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

Author

Henrik Bengtsson