Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
AppserverIo
Appserver
ServletEngine
Http
Request
addHeader
AppserverIo\Appserver\ServletEngine\Http\Request::addHeader PHP Method
Request Class Documentation
Mostra file
Open project: appserver-io/appserver
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
public function addHeader($name, $value) { $this->getHttpRequest()->addHeader($name, $value); }
Request
__construct
addCookie
addHeader
addPart
authenticate
getAttribute
getAuthType
getAuthenticationManager
getBaseModifier
getBodyContent
getBodyStream
getContext
getContextPath
getCookie
getCookies
getDocumentRoot
getHandlers
getHeader
getHeaders
getHttpPartInstance
getHttpRequest
getMethod
getParam
getParameter
getParameterMap
getPart
getParts
getPathInfo
getProposedSessionId
getQueryString
getRemoteUser
getRequestHandler
getRequestUri
getRequestUrl
getRequestedSessionId
getRequestedSessionName
getResponse
getServerName
getServerVar
getServerVars
getServletPath
getSession
getSessionManager
getUri
getUserPrincipal
getVersion
hasCookie
hasHeader
hasParameter
init
injectAuthenticationManager
injectContext
injectHandlers
injectHttpRequest
injectResponse
injectServerVars
injectSessionManager
isDispatched
isUserInRole
login
logout
prepare
setAttribute
setAuthType
setBaseModifier
setBodyStream
setContextPath
setDispatched
setDocumentRoot
setHeaders
setMethod
setParameterMap
setPathInfo
setQueryString
setRequestUri
setRequestUrl
setRequestedSessionId
setRequestedSessionName
setServerName
setServletPath
setUri
setUserPrincipal
setVersion