BBxServletRequest

Description

In BBj 21.00 and higher, this class provides request information for a BBxServlet.

Creation

BBjAPI > BBjAdmin > BBjJettyServerConfiguration > BBjJettyContextConfiguration > BBxServlet > BBxServletContext > BBxServletRequest

A BBxServletRequest object is created by Jetty when the BBxServlet runs, and can be retrieved through the following BBxServletContext method:

Return Value Method
BBxServletResponse getRequest()

Methods of BBxServletRequest

Return Value Method

Object

getAttribute(string name)

BBjVector getAttributeNames()

string

getAuthType()

string getBody()

string

getCharacterEncoding()

int

getContentLength()

string

getContentType()

string

getContextPath()

BBjVector getCookies()

long

getDateHeader(string name)

BBjFileUpload getFileUpload(string fieldName)
BBjVector getFileUploads()
BBjVector getFileUploads(string fieldName)

string

getHeader(string name)

BBjVector getHeaderNames()
BBjVector getHeaders(string name)
HttpServletRequest getHttpServletRequest()

string

getLocalAddr()

Locale

getLocale()

BBjVector getLocales()

string

getLocalName()

int

getLocalPort()

string

getMethod()

string

getParameter(string name)

BBjVector

getParameterNames()

BBjVector

getParameterValues(string name)

string

getPathInfo()

string

getProtocol()

string

getQuerystring()

string

getRemoteAddr()

string

getRemoteHost()

int

getRemotePort()

string

getRemoteUser()

string

getRequestedSessionId()

string

getRequestURI()

string

getRequestURL()

string

getScheme()

string

getServerName()

int

getServerPort()

string

getServletPath()

BBxWebSession

getSession()

boolean

isRequestedSessionIdFromCookie()

boolean

isRequestedSessionIdFromURL()

boolean

isRequestedSessionIdValid()

boolean

isSecure()

void

removeAttribute(string name)

void

setAttribute(string name, Object obj)

Remarks

Many methods of BBxServletRequest are inherited from the Java HttpServletRequest object. See the corresponding Java documentation for additional information on these methods.

See Also

BBxServlet

BBxServlet Tutorial

BBxServletRequest

BBxServletContext