BBxServletRequest

Description

In BBj 21.0 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