PHP Class AppserverIo\Appserver\ServletEngine\Http\Request

Inheritance: implements AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface, implements AppserverIo\Psr\Context\ContextInterface
Datei anzeigen Open project: appserver-io/appserver Class Usage Examples

Protected Properties

Property Type Description
$attributes array Array that contains the attributes of this context.
$authType string The request's authentication type.
$authenticationManager AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface The session manager instance.
$baseModifier string Base modifier which allows for base path generation within rewritten URL environments.
$bodyStream resource The body content stream resource.
$context AppserverIo\Psr\Context\ContextInterface The request context instance.
$contextPath string The application context name.
$dispatched boolean Whether or not the request has been dispatched.
$documentRoot string The document root.
$handlers array The available request handlers.
$httpRequest AppserverIo\Psr\HttpMessage\RequestInterface The HTTP request instance.
$parts array The uploaded part instances.
$pathInfo string The absolute path info.
$queryString string The query string.
$requestHandler AppserverIo\Appserver\ServletEngine\Http\RequestContextInterface The request context.
$requestUri string The request URI.
$requestUrl string The request URL.
$requestedSessionId string The new session-ID.
$requestedSessionName string The new session name.
$response AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface The servlet response instance.
$serverName string The server name.
$serverVars array The server variables.
$servletPath string The path (URI) to the servlet.
$sessionManager AppserverIo\Appserver\ServletEngine\SessionManagerInterface The session manager instance.
$userPrincipal AppserverIo\Psr\Security\PrincipalInterface The user principal of the authenticated user or NULL if the user has not been authenticated.

Public Methods

Method Description
__construct ( ) Initializes the request object with the default properties.
addCookie ( AppserverIo\Psr\HttpMessage\CookieInterface $cookie ) : void Adds the passed cookie to this request.
addHeader ( string $name, string $value ) : void Adds a header information got from connection.
addPart ( AppserverIo\Psr\HttpMessage\PartInterface $part, string $name = null ) : void Adds a part to the parts collection.
authenticate ( AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface $servletResponse ) : boolean Use the container login mechanism configured for the servlet context to authenticate the user making this request. This method may modify and commit the passed servlet response.
getAttribute ( string $key ) : mixed Returns the value with the passed name from the context.
getAuthType ( ) : string | null Return's the authentication type.
getAuthenticationManager ( ) : AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface Return's the authentication manager instance.
getBaseModifier ( ) : string Returns the base modifier which allows for base path generation within rewritten URL environments
getBodyContent ( ) : string Return content
getBodyStream ( ) : resource Returns the body stream as a resource.
getContext ( ) : AppserverIo\Psr\Context\ContextInterface Returns the context that allows access to session and server information.
getContextPath ( ) : string Returns the application context name (application name prefixed with a slash) for the actual request.
getCookie ( string $cookieName ) : AppserverIo\Psr\HttpMessage\CookieInterface Returns the value of the cookie with the passed name.
getCookies ( ) : array Return's the array with cookies.
getDocumentRoot ( ) : string Returns the absolut path to the document root.
getHandlers ( ) : array Returns the available file handlers registered by the webserver configuration.
getHeader ( string $name ) : string | null Returns header info by given name
getHeaders ( ) : array Returns headers data
getHttpPartInstance ( ) : AppserverIo\Psr\HttpMessage\PartInterface Returns a part instance
getHttpRequest ( ) : AppserverIo\Psr\HttpMessage\RequestInterface Returns the Http request instance.
getMethod ( ) : string Returns request method
getParam ( string $name ) : string | null Returns the parameter with the passed name if available or null if the parameter not exists.
getParameter ( string $name, integer $filter = FILTER_SANITIZE_STRING ) : string | null Returns the parameter with the passed name if available or null if the parameter not exists.
getParameterMap ( ) : array Returns an array with all request parameters.
getPart ( string $name ) : AppserverIo\Http\HttpPart Returns a part object by given name
getParts ( ) : array Returns the parts collection as array
getPathInfo ( ) : string Returns the absolute path info started from the context path.
getProposedSessionId ( ) : string Return the session identifier proposed by the actual configuration and request state.
getQueryString ( ) : string | null Returns query string of the actual request.
getRemoteUser ( ) : AppserverIo\Lang\String | null Return's the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated. Whether the user name is sent with each subsequent request depends on the browser and type of authentication. Same as the value of the CGI variable REMOTE_USER.
getRequestHandler ( ) : AppserverIo\Appserver\ServletEngine\Http\RequestContextInterface Returns the context that allows access to session and server information.
getRequestUri ( ) : string Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
getRequestUrl ( ) : string Returns the URL the client used to make the request.
getRequestedSessionId ( ) : string Return the session identifier included in this request, if any.
getRequestedSessionName ( ) : string Return the session name included in this request, if any.
getResponse ( ) : AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface Returns the servlet response bound to this request.
getServerName ( ) : string Returns the server name.
getServerVar ( string $name ) : mixed Returns the server variable with the requested name.
getServerVars ( ) : array Returns the array with the server variables.
getServletPath ( ) : string Returns the path to the servlet used to handle this request.
getSession ( boolean $create = false ) : null | AppserverIo\Psr\Servlet\Http\HttpSessionInterface Returns the session for this request.
getSessionManager ( ) : AppserverIo\Appserver\ServletEngine\SessionManagerInterface Return's the session manager instance.
getUri ( ) : string Returns request uri
getUserPrincipal ( ) : AppserverIo\Psr\Security\PrincipalInterface | null Return's a PrincipalInterface object containing the name of the current authenticated user.
getVersion ( ) : string Returns protocol version
hasCookie ( string $cookieName ) : boolean Returns true if the request has a cookie header with the passed name, else false.
hasHeader ( string $name ) : boolean Checks if header exists by given name.
hasParameter ( string $name ) : boolean Queries whether the request contains a parameter or not.
init ( ) : void Initializes the servlet request with the data from the injected HTTP request instance.
injectAuthenticationManager ( AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface $authenticationManager ) : void Injects the authentication manager instance.
injectContext ( AppserverIo\Psr\Context\ContextInterface $context ) : void Injects the context that allows access to session and server information.
injectHandlers ( array $handlers ) : void Injects the available file handlers registered by the webserver configuration.
injectHttpRequest ( AppserverIo\Psr\HttpMessage\RequestInterface $httpRequest ) : void Injects the Http request instance.
injectResponse ( AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface $response ) : void Injects the servlet response bound to this request.
injectServerVars ( array $serverVars ) : void Injects the server variables.
injectSessionManager ( AppserverIo\Appserver\ServletEngine\SessionManagerInterface $sessionManager ) : void Injects the session manager instance.
isDispatched ( ) : boolean Sets the flag that shows if the request has already been dispatched.
isUserInRole ( string $role ) : boolean Return_s a boolean indicating whether the authenticated user is included in the specified logical "role".
login ( string $username, string $password ) : void Validate the provided username and password in the password validation realm used by the web container login mechanism configured for the ServletContext.
logout ( ) : void Establish null as the value returned when getUserPrincipal, getRemoteUser, and getAuthType is called on the request.
prepare ( ) : void Prepares the request instance.
setAttribute ( string $key, mixed $value ) : void Adds the attribute with the passed name to this context.
setAuthType ( string | null $authType = null ) : void Set's the passed authentication type.
setBaseModifier ( string $baseModifier ) : null Set the base modifier
setBodyStream ( resource $bodyStream ) : void Resets the stream resource pointing to body content.
setContextPath ( string $contextPath ) : void Sets the application context name (application name prefixed with a slash) for the actual request.
setDispatched ( boolean $dispatched = true ) : void Sets the flag to mark the request dispatched.
setDocumentRoot ( string $documentRoot ) : void Sets the absolute path to the document root.
setHeaders ( array $headers ) : void Set headers data
setMethod ( string $method ) : void Sets the method to be performed on the resource identified by the Request-URI.
setParameterMap ( array $parameterMap ) : void Returns an array with all request parameters.
setPathInfo ( string $pathInfo ) : void Sets the absolute path info started from the context path.
setQueryString ( string $queryString ) : void Sets the query string of the actual request.
setRequestUri ( string $requestUri ) : void Sets the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
setRequestUrl ( string $requestUrl ) : void Sets the URL the client used to make the request.
setRequestedSessionId ( string $requestedSessionId ) : void Set the requested session ID for this request. This is normally called by the HTTP Connector, when it parses the request headers.
setRequestedSessionName ( string $requestedSessionName ) : void Set the requested session name for this request.
setServerName ( string $serverName ) : void Sets the server name.
setServletPath ( string $servletPath ) : void Sets the path to the servlet used to handle this request.
setUri ( string $uri ) : void Sets the URI.
setUserPrincipal ( AppserverIo\Psr\Security\PrincipalInterface $userPrincipal = null ) : void Set's the user principal for this request.
setVersion ( string $version ) : void Set protocol version

Method Details

__construct() public method

Initializes the request object with the default properties.
public __construct ( )

addCookie() public method

Adds the passed cookie to this request.
public addCookie ( AppserverIo\Psr\HttpMessage\CookieInterface $cookie ) : void
$cookie AppserverIo\Psr\HttpMessage\CookieInterface The cookie to add
return void

addHeader() public method

Adds a header information got from connection.
public addHeader ( string $name, string $value ) : void
$name string The header name
$value string The headers value
return void

addPart() public method

Adds a part to the parts collection.
public addPart ( AppserverIo\Psr\HttpMessage\PartInterface $part, string $name = null ) : void
$part AppserverIo\Psr\HttpMessage\PartInterface A form part object
$name string A manually defined name
return void

authenticate() public method

Use the container login mechanism configured for the servlet context to authenticate the user making this request. This method may modify and commit the passed servlet response.
public authenticate ( AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface $servletResponse ) : boolean
$servletResponse AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface The servlet response
return boolean TRUE when non-null values were or have been established as the values returned by getRemoteUser, else FALSE

getAttribute() public method

Returns the value with the passed name from the context.
public getAttribute ( string $key ) : mixed
$key string The key of the value to return from the context.
return mixed The requested attribute

getAuthType() public method

Return's the authentication type.
public getAuthType ( ) : string | null
return string | null The authentication type

getAuthenticationManager() public method

Return's the authentication manager instance.
public getAuthenticationManager ( ) : AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface
return AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface The authentication manager instance

getBaseModifier() public method

Returns the base modifier which allows for base path generation within rewritten URL environments
public getBaseModifier ( ) : string
return string

getBodyContent() public method

Return content
public getBodyContent ( ) : string
return string $content

getBodyStream() public method

Returns the body stream as a resource.
public getBodyStream ( ) : resource
return resource The body stream

getContext() public method

Returns the context that allows access to session and server information.
public getContext ( ) : AppserverIo\Psr\Context\ContextInterface
return AppserverIo\Psr\Context\ContextInterface The request context

getContextPath() public method

Returns the application context name (application name prefixed with a slash) for the actual request.
public getContextPath ( ) : string
return string The application context name

getCookie() public method

Returns the value of the cookie with the passed name.
public getCookie ( string $cookieName ) : AppserverIo\Psr\HttpMessage\CookieInterface
$cookieName string The name of the cookie to return
return AppserverIo\Psr\HttpMessage\CookieInterface The cookie instance

getCookies() public method

Return's the array with cookies.
public getCookies ( ) : array
return array The array with cookies

getDocumentRoot() public method

Returns the absolut path to the document root.
public getDocumentRoot ( ) : string
return string The document root

getHandlers() public method

Returns the available file handlers registered by the webserver configuration.
public getHandlers ( ) : array
return array The file handlers

getHeader() public method

Returns header info by given name
public getHeader ( string $name ) : string | null
$name string The header key to name
return string | null

getHeaders() public method

Returns headers data
public getHeaders ( ) : array
return array

getHttpPartInstance() public method

Returns a part instance
public getHttpPartInstance ( ) : AppserverIo\Psr\HttpMessage\PartInterface
return AppserverIo\Psr\HttpMessage\PartInterface

getHttpRequest() public method

Returns the Http request instance.
public getHttpRequest ( ) : AppserverIo\Psr\HttpMessage\RequestInterface
return AppserverIo\Psr\HttpMessage\RequestInterface The Http request instance

getMethod() public method

Returns request method
public getMethod ( ) : string
return string

getParam() public method

Returns the parameter with the passed name if available or null if the parameter not exists.
public getParam ( string $name ) : string | null
$name string The name of the parameter to return
return string | null The requested value

getParameter() public method

Returns the parameter with the passed name if available or null if the parameter not exists.
public getParameter ( string $name, integer $filter = FILTER_SANITIZE_STRING ) : string | null
$name string The name of the parameter to return
$filter integer The filter to use
return string | null

getParameterMap() public method

Returns an array with all request parameters.
public getParameterMap ( ) : array
return array The array with the request parameters

getPart() public method

Returns a part object by given name
public getPart ( string $name ) : AppserverIo\Http\HttpPart
$name string The name of the form part
return AppserverIo\Http\HttpPart

getParts() public method

Returns the parts collection as array
public getParts ( ) : array
return array A collection of HttpPart objects

getPathInfo() public method

Returns the absolute path info started from the context path.
public getPathInfo ( ) : string
return string The absolute path info

getProposedSessionId() public method

Return the session identifier proposed by the actual configuration and request state.
public getProposedSessionId ( ) : string
return string The session identifier proposed for this request

getQueryString() public method

Returns query string of the actual request.
public getQueryString ( ) : string | null
return string | null The query string of the actual request

getRemoteUser() public method

Return's the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated. Whether the user name is sent with each subsequent request depends on the browser and type of authentication. Same as the value of the CGI variable REMOTE_USER.
public getRemoteUser ( ) : AppserverIo\Lang\String | null
return AppserverIo\Lang\String | null A string specifying the login of the user making this request, or null if the user login is not known

getRequestHandler() public method

Returns the context that allows access to session and server information.
public getRequestHandler ( ) : AppserverIo\Appserver\ServletEngine\Http\RequestContextInterface
return AppserverIo\Appserver\ServletEngine\Http\RequestContextInterface The request context

getRequestUri() public method

Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
public getRequestUri ( ) : string
return string The request URI

getRequestUrl() public method

Returns the URL the client used to make the request.
public getRequestUrl ( ) : string
return string The request URL

getRequestedSessionId() public method

Return the session identifier included in this request, if any.
public getRequestedSessionId ( ) : string
return string The session identifier included in this request

getRequestedSessionName() public method

Return the session name included in this request, if any.
public getRequestedSessionName ( ) : string
return string The session name included in this request

getResponse() public method

Returns the servlet response bound to this request.
public getResponse ( ) : AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface
return AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface The response instance

getServerName() public method

Returns the server name.
public getServerName ( ) : string
return string The server name

getServerVar() public method

Returns the server variable with the requested name.
public getServerVar ( string $name ) : mixed
$name string The name of the server variable to be returned
return mixed The requested server variable

getServerVars() public method

Returns the array with the server variables.
public getServerVars ( ) : array
return array The array with the server variables

getServletPath() public method

Returns the path to the servlet used to handle this request.
public getServletPath ( ) : string
return string The relative path to the servlet

getSession() public method

Returns the session for this request.
public getSession ( boolean $create = false ) : null | AppserverIo\Psr\Servlet\Http\HttpSessionInterface
$create boolean TRUE to create a new session, else FALSE
return null | AppserverIo\Psr\Servlet\Http\HttpSessionInterface The session instance

getSessionManager() public method

Return's the session manager instance.
public getSessionManager ( ) : AppserverIo\Appserver\ServletEngine\SessionManagerInterface
return AppserverIo\Appserver\ServletEngine\SessionManagerInterface The session manager instance

getUri() public method

Returns request uri
public getUri ( ) : string
return string

getUserPrincipal() public method

Return's a PrincipalInterface object containing the name of the current authenticated user.
public getUserPrincipal ( ) : AppserverIo\Psr\Security\PrincipalInterface | null
return AppserverIo\Psr\Security\PrincipalInterface | null The user principal

getVersion() public method

Returns protocol version
public getVersion ( ) : string
return string

hasCookie() public method

Returns true if the request has a cookie header with the passed name, else false.
public hasCookie ( string $cookieName ) : boolean
$cookieName string Name of the cookie header to be checked
return boolean true if the request has the cookie, else false

hasHeader() public method

Checks if header exists by given name.
public hasHeader ( string $name ) : boolean
$name string The header name to check
return boolean

hasParameter() public method

Queries whether the request contains a parameter or not.
public hasParameter ( string $name ) : boolean
$name string The name of the param we're query for
return boolean TRUE if the parameter is available, else FALSE

init() public method

Initializes the servlet request with the data from the injected HTTP request instance.
public init ( ) : void
return void

injectAuthenticationManager() public method

Injects the authentication manager instance.
public injectAuthenticationManager ( AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface $authenticationManager ) : void
$authenticationManager AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface The authentication manager instance
return void

injectContext() public method

Injects the context that allows access to session and server information.
public injectContext ( AppserverIo\Psr\Context\ContextInterface $context ) : void
$context AppserverIo\Psr\Context\ContextInterface The request context instance
return void

injectHandlers() public method

Injects the available file handlers registered by the webserver configuration.
public injectHandlers ( array $handlers ) : void
$handlers array The available file handlers
return void

injectHttpRequest() public method

Injects the Http request instance.
public injectHttpRequest ( AppserverIo\Psr\HttpMessage\RequestInterface $httpRequest ) : void
$httpRequest AppserverIo\Psr\HttpMessage\RequestInterface The Http request instance
return void

injectResponse() public method

Injects the servlet response bound to this request.
public injectResponse ( AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface $response ) : void
$response AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface The servlet response instance
return void

injectServerVars() public method

Injects the server variables.
public injectServerVars ( array $serverVars ) : void
$serverVars array The server variables
return void

injectSessionManager() public method

Injects the session manager instance.
public injectSessionManager ( AppserverIo\Appserver\ServletEngine\SessionManagerInterface $sessionManager ) : void
$sessionManager AppserverIo\Appserver\ServletEngine\SessionManagerInterface The session manager instance
return void

isDispatched() public method

Sets the flag that shows if the request has already been dispatched.
public isDispatched ( ) : boolean
return boolean TRUE if the request has already been dispatched, else FALSE

isUserInRole() public method

Return_s a boolean indicating whether the authenticated user is included in the specified logical "role".
public isUserInRole ( string $role ) : boolean
$role string The role we want to test for
return boolean TRUE if the user has the passed role, else FALSE

login() public method

Validate the provided username and password in the password validation realm used by the web container login mechanism configured for the ServletContext.
public login ( string $username, string $password ) : void
$username string The username to login
$password string The password used to authenticate the user
return void

logout() public method

Establish null as the value returned when getUserPrincipal, getRemoteUser, and getAuthType is called on the request.
public logout ( ) : void
return void

prepare() public method

Prepares the request instance.
public prepare ( ) : void
return void

setAttribute() public method

Adds the attribute with the passed name to this context.
public setAttribute ( string $key, mixed $value ) : void
$key string The key to add the value with
$value mixed The value to add to the context
return void

setAuthType() public method

Set's the passed authentication type.
public setAuthType ( string | null $authType = null ) : void
$authType string | null The authentication type
return void

setBaseModifier() public method

Set the base modifier
public setBaseModifier ( string $baseModifier ) : null
$baseModifier string Base modifier which allows for base path generation within rewritten URL environments
return null

setBodyStream() public method

Resets the stream resource pointing to body content.
public setBodyStream ( resource $bodyStream ) : void
$bodyStream resource The body content stream resource
return void

setContextPath() public method

Sets the application context name (application name prefixed with a slash) for the actual request.
public setContextPath ( string $contextPath ) : void
$contextPath string The application context name
return void

setDispatched() public method

Sets the flag to mark the request dispatched.
public setDispatched ( boolean $dispatched = true ) : void
$dispatched boolean TRUE if the request has already been dispatched, else FALSE
return void

setDocumentRoot() public method

Sets the absolute path to the document root.
public setDocumentRoot ( string $documentRoot ) : void
$documentRoot string The document root
return void

setHeaders() public method

Set headers data
public setHeaders ( array $headers ) : void
$headers array The headers array to set
return void

setMethod() public method

While HTTP method names are typically all uppercase characters, HTTP method names are case-sensitive and thus implementations SHOULD NOT modify the given string.
public setMethod ( string $method ) : void
$method string Case-insensitive method
return void

setParameterMap() public method

Returns an array with all request parameters.
public setParameterMap ( array $parameterMap ) : void
$parameterMap array The array with the request parameters
return void

setPathInfo() public method

Sets the absolute path info started from the context path.
public setPathInfo ( string $pathInfo ) : void
$pathInfo string The absolute path info
return void

setQueryString() public method

Sets the query string of the actual request.
public setQueryString ( string $queryString ) : void
$queryString string The query string
return void

setRequestUri() public method

Sets the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
public setRequestUri ( string $requestUri ) : void
$requestUri string The request URI
return void

setRequestUrl() public method

Sets the URL the client used to make the request.
public setRequestUrl ( string $requestUrl ) : void
$requestUrl string The request URL
return void

setRequestedSessionId() public method

Set the requested session ID for this request. This is normally called by the HTTP Connector, when it parses the request headers.
public setRequestedSessionId ( string $requestedSessionId ) : void
$requestedSessionId string The new session id
return void

setRequestedSessionName() public method

Set the requested session name for this request.
public setRequestedSessionName ( string $requestedSessionName ) : void
$requestedSessionName string The new session name
return void

setServerName() public method

Sets the server name.
public setServerName ( string $serverName ) : void
$serverName string The server name
return void

setServletPath() public method

Sets the path to the servlet used to handle this request.
public setServletPath ( string $servletPath ) : void
$servletPath string The path to the servlet
return void

setUri() public method

Sets the URI.
public setUri ( string $uri ) : void
$uri string The uri
return void

setUserPrincipal() public method

Set's the user principal for this request.
public setUserPrincipal ( AppserverIo\Psr\Security\PrincipalInterface $userPrincipal = null ) : void
$userPrincipal AppserverIo\Psr\Security\PrincipalInterface The user principal
return void

setVersion() public method

Set protocol version
public setVersion ( string $version ) : void
$version string The http protocol version
return void

Property Details

$attributes protected_oe property

Array that contains the attributes of this context.
protected array $attributes
return array

$authType protected_oe property

The request's authentication type.
protected string $authType
return string

$authenticationManager protected_oe property

The session manager instance.
protected AuthenticationManagerInterface,AppserverIo\Appserver\ServletEngine\Security $authenticationManager
return AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface

$baseModifier protected_oe property

Base modifier which allows for base path generation within rewritten URL environments.
protected string $baseModifier
return string

$bodyStream protected_oe property

The body content stream resource.
protected resource $bodyStream
return resource

$context protected_oe property

The request context instance.
protected ContextInterface,AppserverIo\Psr\Context $context
return AppserverIo\Psr\Context\ContextInterface

$contextPath protected_oe property

The application context name.
protected string $contextPath
return string

$dispatched protected_oe property

Whether or not the request has been dispatched.
protected bool $dispatched
return boolean

$documentRoot protected_oe property

The document root.
protected string $documentRoot
return string

$handlers protected_oe property

The available request handlers.
protected array $handlers
return array

$httpRequest protected_oe property

The HTTP request instance.
protected RequestInterface,AppserverIo\Psr\HttpMessage $httpRequest
return AppserverIo\Psr\HttpMessage\RequestInterface

$parts protected_oe property

The uploaded part instances.
protected array $parts
return array

$pathInfo protected_oe property

The absolute path info.
protected string $pathInfo
return string

$queryString protected_oe property

The query string.
protected string $queryString
return string

$requestHandler protected_oe property

The request context.
protected RequestContextInterface,AppserverIo\Appserver\ServletEngine\Http $requestHandler
return AppserverIo\Appserver\ServletEngine\Http\RequestContextInterface

$requestUri protected_oe property

The request URI.
protected string $requestUri
return string

$requestUrl protected_oe property

The request URL.
protected string $requestUrl
return string

$requestedSessionId protected_oe property

The new session-ID.
protected string $requestedSessionId
return string

$requestedSessionName protected_oe property

The new session name.
protected string $requestedSessionName
return string

$response protected_oe property

The servlet response instance.
protected HttpServletResponseInterface,AppserverIo\Psr\Servlet\Http $response
return AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface

$serverName protected_oe property

The server name.
protected string $serverName
return string

$serverVars protected_oe property

The server variables.
protected array $serverVars
return array

$servletPath protected_oe property

The path (URI) to the servlet.
protected string $servletPath
return string

$sessionManager protected_oe property

The session manager instance.
protected SessionManagerInterface,AppserverIo\Appserver\ServletEngine $sessionManager
return AppserverIo\Appserver\ServletEngine\SessionManagerInterface

$userPrincipal protected_oe property

The user principal of the authenticated user or NULL if the user has not been authenticated.
protected PrincipalInterface,AppserverIo\Psr\Security $userPrincipal
return AppserverIo\Psr\Security\PrincipalInterface