PHP Класс AppserverIo\Appserver\ServletEngine\Http\Request

Автор: Tim Wagner ([email protected])
Наследование: implements AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface, implements AppserverIo\Psr\Context\ContextInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный метод

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

addCookie() публичный метод

Adds the passed cookie to this request.
public addCookie ( AppserverIo\Psr\HttpMessage\CookieInterface $cookie ) : void
$cookie AppserverIo\Psr\HttpMessage\CookieInterface The cookie to add
Результат void

addHeader() публичный метод

Adds a header information got from connection.
public addHeader ( string $name, string $value ) : void
$name string The header name
$value string The headers value
Результат void

addPart() публичный метод

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
Результат void

authenticate() публичный метод

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
Результат boolean TRUE when non-null values were or have been established as the values returned by getRemoteUser, else FALSE

getAttribute() публичный метод

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.
Результат mixed The requested attribute

getAuthType() публичный метод

Return's the authentication type.
public getAuthType ( ) : string | null
Результат string | null The authentication type

getAuthenticationManager() публичный метод

Return's the authentication manager instance.
public getAuthenticationManager ( ) : AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface
Результат AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface The authentication manager instance

getBaseModifier() публичный метод

Returns the base modifier which allows for base path generation within rewritten URL environments
public getBaseModifier ( ) : string
Результат string

getBodyContent() публичный метод

Return content
public getBodyContent ( ) : string
Результат string $content

getBodyStream() публичный метод

Returns the body stream as a resource.
public getBodyStream ( ) : resource
Результат resource The body stream

getContext() публичный метод

Returns the context that allows access to session and server information.
public getContext ( ) : AppserverIo\Psr\Context\ContextInterface
Результат AppserverIo\Psr\Context\ContextInterface The request context

getContextPath() публичный метод

Returns the application context name (application name prefixed with a slash) for the actual request.
public getContextPath ( ) : string
Результат string The application context name

getCookie() публичный метод

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
Результат AppserverIo\Psr\HttpMessage\CookieInterface The cookie instance

getCookies() публичный метод

Return's the array with cookies.
public getCookies ( ) : array
Результат array The array with cookies

getDocumentRoot() публичный метод

Returns the absolut path to the document root.
public getDocumentRoot ( ) : string
Результат string The document root

getHandlers() публичный метод

Returns the available file handlers registered by the webserver configuration.
public getHandlers ( ) : array
Результат array The file handlers

getHeader() публичный метод

Returns header info by given name
public getHeader ( string $name ) : string | null
$name string The header key to name
Результат string | null

getHeaders() публичный метод

Returns headers data
public getHeaders ( ) : array
Результат array

getHttpPartInstance() публичный метод

Returns a part instance
public getHttpPartInstance ( ) : AppserverIo\Psr\HttpMessage\PartInterface
Результат AppserverIo\Psr\HttpMessage\PartInterface

getHttpRequest() публичный метод

Returns the Http request instance.
public getHttpRequest ( ) : AppserverIo\Psr\HttpMessage\RequestInterface
Результат AppserverIo\Psr\HttpMessage\RequestInterface The Http request instance

getMethod() публичный метод

Returns request method
public getMethod ( ) : string
Результат string

getParam() публичный метод

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
Результат string | null The requested value

getParameter() публичный метод

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
Результат string | null

getParameterMap() публичный метод

Returns an array with all request parameters.
public getParameterMap ( ) : array
Результат array The array with the request parameters

getPart() публичный метод

Returns a part object by given name
public getPart ( string $name ) : AppserverIo\Http\HttpPart
$name string The name of the form part
Результат AppserverIo\Http\HttpPart

getParts() публичный метод

Returns the parts collection as array
public getParts ( ) : array
Результат array A collection of HttpPart objects

getPathInfo() публичный метод

Returns the absolute path info started from the context path.
public getPathInfo ( ) : string
Результат string The absolute path info

getProposedSessionId() публичный метод

Return the session identifier proposed by the actual configuration and request state.
public getProposedSessionId ( ) : string
Результат string The session identifier proposed for this request

getQueryString() публичный метод

Returns query string of the actual request.
public getQueryString ( ) : string | null
Результат string | null The query string of the actual request

getRemoteUser() публичный метод

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
Результат 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() публичный метод

Returns the context that allows access to session and server information.
public getRequestHandler ( ) : AppserverIo\Appserver\ServletEngine\Http\RequestContextInterface
Результат AppserverIo\Appserver\ServletEngine\Http\RequestContextInterface The request context

getRequestUri() публичный метод

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
Результат string The request URI

getRequestUrl() публичный метод

Returns the URL the client used to make the request.
public getRequestUrl ( ) : string
Результат string The request URL

getRequestedSessionId() публичный метод

Return the session identifier included in this request, if any.
public getRequestedSessionId ( ) : string
Результат string The session identifier included in this request

getRequestedSessionName() публичный метод

Return the session name included in this request, if any.
public getRequestedSessionName ( ) : string
Результат string The session name included in this request

getResponse() публичный метод

Returns the servlet response bound to this request.
public getResponse ( ) : AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface
Результат AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface The response instance

getServerName() публичный метод

Returns the server name.
public getServerName ( ) : string
Результат string The server name

getServerVar() публичный метод

Returns the server variable with the requested name.
public getServerVar ( string $name ) : mixed
$name string The name of the server variable to be returned
Результат mixed The requested server variable

getServerVars() публичный метод

Returns the array with the server variables.
public getServerVars ( ) : array
Результат array The array with the server variables

getServletPath() публичный метод

Returns the path to the servlet used to handle this request.
public getServletPath ( ) : string
Результат string The relative path to the servlet

getSession() публичный метод

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
Результат null | AppserverIo\Psr\Servlet\Http\HttpSessionInterface The session instance

getSessionManager() публичный метод

Return's the session manager instance.
public getSessionManager ( ) : AppserverIo\Appserver\ServletEngine\SessionManagerInterface
Результат AppserverIo\Appserver\ServletEngine\SessionManagerInterface The session manager instance

getUri() публичный метод

Returns request uri
public getUri ( ) : string
Результат string

getUserPrincipal() публичный метод

Return's a PrincipalInterface object containing the name of the current authenticated user.
public getUserPrincipal ( ) : AppserverIo\Psr\Security\PrincipalInterface | null
Результат AppserverIo\Psr\Security\PrincipalInterface | null The user principal

getVersion() публичный метод

Returns protocol version
public getVersion ( ) : string
Результат string

hasCookie() публичный метод

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
Результат boolean true if the request has the cookie, else false

hasHeader() публичный метод

Checks if header exists by given name.
public hasHeader ( string $name ) : boolean
$name string The header name to check
Результат boolean

hasParameter() публичный метод

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
Результат boolean TRUE if the parameter is available, else FALSE

init() публичный метод

Initializes the servlet request with the data from the injected HTTP request instance.
public init ( ) : void
Результат void

injectAuthenticationManager() публичный метод

Injects the authentication manager instance.
public injectAuthenticationManager ( AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface $authenticationManager ) : void
$authenticationManager AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface The authentication manager instance
Результат void

injectContext() публичный метод

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
Результат void

injectHandlers() публичный метод

Injects the available file handlers registered by the webserver configuration.
public injectHandlers ( array $handlers ) : void
$handlers array The available file handlers
Результат void

injectHttpRequest() публичный метод

Injects the Http request instance.
public injectHttpRequest ( AppserverIo\Psr\HttpMessage\RequestInterface $httpRequest ) : void
$httpRequest AppserverIo\Psr\HttpMessage\RequestInterface The Http request instance
Результат void

injectResponse() публичный метод

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
Результат void

injectServerVars() публичный метод

Injects the server variables.
public injectServerVars ( array $serverVars ) : void
$serverVars array The server variables
Результат void

injectSessionManager() публичный метод

Injects the session manager instance.
public injectSessionManager ( AppserverIo\Appserver\ServletEngine\SessionManagerInterface $sessionManager ) : void
$sessionManager AppserverIo\Appserver\ServletEngine\SessionManagerInterface The session manager instance
Результат void

isDispatched() публичный метод

Sets the flag that shows if the request has already been dispatched.
public isDispatched ( ) : boolean
Результат boolean TRUE if the request has already been dispatched, else FALSE

isUserInRole() публичный метод

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
Результат boolean TRUE if the user has the passed role, else FALSE

login() публичный метод

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
Результат void

logout() публичный метод

Establish null as the value returned when getUserPrincipal, getRemoteUser, and getAuthType is called on the request.
public logout ( ) : void
Результат void

prepare() публичный метод

Prepares the request instance.
public prepare ( ) : void
Результат void

setAttribute() публичный метод

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
Результат void

setAuthType() публичный метод

Set's the passed authentication type.
public setAuthType ( string | null $authType = null ) : void
$authType string | null The authentication type
Результат void

setBaseModifier() публичный метод

Set the base modifier
public setBaseModifier ( string $baseModifier ) : null
$baseModifier string Base modifier which allows for base path generation within rewritten URL environments
Результат null

setBodyStream() публичный метод

Resets the stream resource pointing to body content.
public setBodyStream ( resource $bodyStream ) : void
$bodyStream resource The body content stream resource
Результат void

setContextPath() публичный метод

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
Результат void

setDispatched() публичный метод

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
Результат void

setDocumentRoot() публичный метод

Sets the absolute path to the document root.
public setDocumentRoot ( string $documentRoot ) : void
$documentRoot string The document root
Результат void

setHeaders() публичный метод

Set headers data
public setHeaders ( array $headers ) : void
$headers array The headers array to set
Результат void

setMethod() публичный метод

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
Результат void

setParameterMap() публичный метод

Returns an array with all request parameters.
public setParameterMap ( array $parameterMap ) : void
$parameterMap array The array with the request parameters
Результат void

setPathInfo() публичный метод

Sets the absolute path info started from the context path.
public setPathInfo ( string $pathInfo ) : void
$pathInfo string The absolute path info
Результат void

setQueryString() публичный метод

Sets the query string of the actual request.
public setQueryString ( string $queryString ) : void
$queryString string The query string
Результат void

setRequestUri() публичный метод

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
Результат void

setRequestUrl() публичный метод

Sets the URL the client used to make the request.
public setRequestUrl ( string $requestUrl ) : void
$requestUrl string The request URL
Результат void

setRequestedSessionId() публичный метод

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
Результат void

setRequestedSessionName() публичный метод

Set the requested session name for this request.
public setRequestedSessionName ( string $requestedSessionName ) : void
$requestedSessionName string The new session name
Результат void

setServerName() публичный метод

Sets the server name.
public setServerName ( string $serverName ) : void
$serverName string The server name
Результат void

setServletPath() публичный метод

Sets the path to the servlet used to handle this request.
public setServletPath ( string $servletPath ) : void
$servletPath string The path to the servlet
Результат void

setUri() публичный метод

Sets the URI.
public setUri ( string $uri ) : void
$uri string The uri
Результат void

setUserPrincipal() публичный метод

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
Результат void

setVersion() публичный метод

Set protocol version
public setVersion ( string $version ) : void
$version string The http protocol version
Результат void

Описание свойств

$attributes защищенное свойство

Array that contains the attributes of this context.
protected array $attributes
Результат array

$authType защищенное свойство

The request's authentication type.
protected string $authType
Результат string

$authenticationManager защищенное свойство

The session manager instance.
protected AuthenticationManagerInterface,AppserverIo\Appserver\ServletEngine\Security $authenticationManager
Результат AppserverIo\Appserver\ServletEngine\Security\AuthenticationManagerInterface

$baseModifier защищенное свойство

Base modifier which allows for base path generation within rewritten URL environments.
protected string $baseModifier
Результат string

$bodyStream защищенное свойство

The body content stream resource.
protected resource $bodyStream
Результат resource

$context защищенное свойство

The request context instance.
protected ContextInterface,AppserverIo\Psr\Context $context
Результат AppserverIo\Psr\Context\ContextInterface

$contextPath защищенное свойство

The application context name.
protected string $contextPath
Результат string

$dispatched защищенное свойство

Whether or not the request has been dispatched.
protected bool $dispatched
Результат boolean

$documentRoot защищенное свойство

The document root.
protected string $documentRoot
Результат string

$handlers защищенное свойство

The available request handlers.
protected array $handlers
Результат array

$httpRequest защищенное свойство

The HTTP request instance.
protected RequestInterface,AppserverIo\Psr\HttpMessage $httpRequest
Результат AppserverIo\Psr\HttpMessage\RequestInterface

$parts защищенное свойство

The uploaded part instances.
protected array $parts
Результат array

$pathInfo защищенное свойство

The absolute path info.
protected string $pathInfo
Результат string

$queryString защищенное свойство

The query string.
protected string $queryString
Результат string

$requestHandler защищенное свойство

The request context.
protected RequestContextInterface,AppserverIo\Appserver\ServletEngine\Http $requestHandler
Результат AppserverIo\Appserver\ServletEngine\Http\RequestContextInterface

$requestUri защищенное свойство

The request URI.
protected string $requestUri
Результат string

$requestUrl защищенное свойство

The request URL.
protected string $requestUrl
Результат string

$requestedSessionId защищенное свойство

The new session-ID.
protected string $requestedSessionId
Результат string

$requestedSessionName защищенное свойство

The new session name.
protected string $requestedSessionName
Результат string

$response защищенное свойство

The servlet response instance.
protected HttpServletResponseInterface,AppserverIo\Psr\Servlet\Http $response
Результат AppserverIo\Psr\Servlet\Http\HttpServletResponseInterface

$serverName защищенное свойство

The server name.
protected string $serverName
Результат string

$serverVars защищенное свойство

The server variables.
protected array $serverVars
Результат array

$servletPath защищенное свойство

The path (URI) to the servlet.
protected string $servletPath
Результат string

$sessionManager защищенное свойство

The session manager instance.
protected SessionManagerInterface,AppserverIo\Appserver\ServletEngine $sessionManager
Результат AppserverIo\Appserver\ServletEngine\SessionManagerInterface

$userPrincipal защищенное свойство

The user principal of the authenticated user or NULL if the user has not been authenticated.
protected PrincipalInterface,AppserverIo\Psr\Security $userPrincipal
Результат AppserverIo\Psr\Security\PrincipalInterface