PHP Class AppserverIo\Appserver\ServletEngine\Http\Request

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

Protected Properties

Свойство 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.

Méthodes publiques

Méthode 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 méthode

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

addCookie() public méthode

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

addHeader() public méthode

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

addPart() public méthode

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
Résultat void

authenticate() public méthode

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
Résultat boolean TRUE when non-null values were or have been established as the values returned by getRemoteUser, else FALSE

getAttribute() public méthode

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.
Résultat mixed The requested attribute

getAuthType() public méthode

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

getAuthenticationManager() public méthode

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

getBaseModifier() public méthode

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

getBodyContent() public méthode

Return content
public getBodyContent ( ) : string
Résultat string $content

getBodyStream() public méthode

Returns the body stream as a resource.
public getBodyStream ( ) : resource
Résultat resource The body stream

getContext() public méthode

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

getContextPath() public méthode

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

getCookie() public méthode

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
Résultat AppserverIo\Psr\HttpMessage\CookieInterface The cookie instance

getCookies() public méthode

Return's the array with cookies.
public getCookies ( ) : array
Résultat array The array with cookies

getDocumentRoot() public méthode

Returns the absolut path to the document root.
public getDocumentRoot ( ) : string
Résultat string The document root

getHandlers() public méthode

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

getHeader() public méthode

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

getHeaders() public méthode

Returns headers data
public getHeaders ( ) : array
Résultat array

getHttpPartInstance() public méthode

Returns a part instance
public getHttpPartInstance ( ) : AppserverIo\Psr\HttpMessage\PartInterface
Résultat AppserverIo\Psr\HttpMessage\PartInterface

getHttpRequest() public méthode

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

getMethod() public méthode

Returns request method
public getMethod ( ) : string
Résultat string

getParam() public méthode

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
Résultat string | null The requested value

getParameter() public méthode

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
Résultat string | null

getParameterMap() public méthode

Returns an array with all request parameters.
public getParameterMap ( ) : array
Résultat array The array with the request parameters

getPart() public méthode

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

getParts() public méthode

Returns the parts collection as array
public getParts ( ) : array
Résultat array A collection of HttpPart objects

getPathInfo() public méthode

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

getProposedSessionId() public méthode

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

getQueryString() public méthode

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

getRemoteUser() public méthode

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
Résultat 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 méthode

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

getRequestUri() public méthode

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
Résultat string The request URI

getRequestUrl() public méthode

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

getRequestedSessionId() public méthode

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

getRequestedSessionName() public méthode

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

getResponse() public méthode

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

getServerName() public méthode

Returns the server name.
public getServerName ( ) : string
Résultat string The server name

getServerVar() public méthode

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

getServerVars() public méthode

Returns the array with the server variables.
public getServerVars ( ) : array
Résultat array The array with the server variables

getServletPath() public méthode

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

getSession() public méthode

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
Résultat null | AppserverIo\Psr\Servlet\Http\HttpSessionInterface The session instance

getSessionManager() public méthode

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

getUri() public méthode

Returns request uri
public getUri ( ) : string
Résultat string

getUserPrincipal() public méthode

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

getVersion() public méthode

Returns protocol version
public getVersion ( ) : string
Résultat string

hasCookie() public méthode

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
Résultat boolean true if the request has the cookie, else false

hasHeader() public méthode

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

hasParameter() public méthode

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
Résultat boolean TRUE if the parameter is available, else FALSE

init() public méthode

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

injectAuthenticationManager() public méthode

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

injectContext() public méthode

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
Résultat void

injectHandlers() public méthode

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

injectHttpRequest() public méthode

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

injectResponse() public méthode

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
Résultat void

injectServerVars() public méthode

Injects the server variables.
public injectServerVars ( array $serverVars ) : void
$serverVars array The server variables
Résultat void

injectSessionManager() public méthode

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

isDispatched() public méthode

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

isUserInRole() public méthode

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
Résultat boolean TRUE if the user has the passed role, else FALSE

login() public méthode

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
Résultat void

logout() public méthode

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

prepare() public méthode

Prepares the request instance.
public prepare ( ) : void
Résultat void

setAttribute() public méthode

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
Résultat void

setAuthType() public méthode

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

setBaseModifier() public méthode

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

setBodyStream() public méthode

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

setContextPath() public méthode

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
Résultat void

setDispatched() public méthode

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
Résultat void

setDocumentRoot() public méthode

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

setHeaders() public méthode

Set headers data
public setHeaders ( array $headers ) : void
$headers array The headers array to set
Résultat void

setMethod() public méthode

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
Résultat void

setParameterMap() public méthode

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

setPathInfo() public méthode

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

setQueryString() public méthode

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

setRequestUri() public méthode

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
Résultat void

setRequestUrl() public méthode

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

setRequestedSessionId() public méthode

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
Résultat void

setRequestedSessionName() public méthode

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

setServerName() public méthode

Sets the server name.
public setServerName ( string $serverName ) : void
$serverName string The server name
Résultat void

setServletPath() public méthode

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

setUri() public méthode

Sets the URI.
public setUri ( string $uri ) : void
$uri string The uri
Résultat void

setUserPrincipal() public méthode

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
Résultat void

setVersion() public méthode

Set protocol version
public setVersion ( string $version ) : void
$version string The http protocol version
Résultat void

Property Details

$attributes protected_oe property

Array that contains the attributes of this context.
protected array $attributes
Résultat array

$authType protected_oe property

The request's authentication type.
protected string $authType
Résultat string

$authenticationManager protected_oe property

The session manager instance.
protected AuthenticationManagerInterface,AppserverIo\Appserver\ServletEngine\Security $authenticationManager
Résultat AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface

$baseModifier protected_oe property

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

$bodyStream protected_oe property

The body content stream resource.
protected resource $bodyStream
Résultat resource

$context protected_oe property

The request context instance.
protected ContextInterface,AppserverIo\Psr\Context $context
Résultat AppserverIo\Psr\Context\ContextInterface

$contextPath protected_oe property

The application context name.
protected string $contextPath
Résultat string

$dispatched protected_oe property

Whether or not the request has been dispatched.
protected bool $dispatched
Résultat boolean

$documentRoot protected_oe property

The document root.
protected string $documentRoot
Résultat string

$handlers protected_oe property

The available request handlers.
protected array $handlers
Résultat array

$httpRequest protected_oe property

The HTTP request instance.
protected RequestInterface,AppserverIo\Psr\HttpMessage $httpRequest
Résultat AppserverIo\Psr\HttpMessage\RequestInterface

$parts protected_oe property

The uploaded part instances.
protected array $parts
Résultat array

$pathInfo protected_oe property

The absolute path info.
protected string $pathInfo
Résultat string

$queryString protected_oe property

The query string.
protected string $queryString
Résultat string

$requestHandler protected_oe property

The request context.
protected RequestContextInterface,AppserverIo\Appserver\ServletEngine\Http $requestHandler
Résultat AppserverIo\Appserver\ServletEngine\Http\RequestContextInterface

$requestUri protected_oe property

The request URI.
protected string $requestUri
Résultat string

$requestUrl protected_oe property

The request URL.
protected string $requestUrl
Résultat string

$requestedSessionId protected_oe property

The new session-ID.
protected string $requestedSessionId
Résultat string

$requestedSessionName protected_oe property

The new session name.
protected string $requestedSessionName
Résultat string

$response protected_oe property

The servlet response instance.
protected HttpServletResponseInterface,AppserverIo\Psr\Servlet\Http $response
Résultat AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface

$serverName protected_oe property

The server name.
protected string $serverName
Résultat string

$serverVars protected_oe property

The server variables.
protected array $serverVars
Résultat array

$servletPath protected_oe property

The path (URI) to the servlet.
protected string $servletPath
Résultat string

$sessionManager protected_oe property

The session manager instance.
protected SessionManagerInterface,AppserverIo\Appserver\ServletEngine $sessionManager
Résultat 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
Résultat AppserverIo\Psr\Security\PrincipalInterface