RUpnpHttpMessageFactory Class Reference
class RUpnpHttpMessageFactory
|
Public Member Functions
|
IMPORT_C
CUpnpHttpMessage
*
|
Http11ResponseL
(
CUpnpHttpMessage
*,
TInt
)
|
IMPORT_C
CUpnpHttpMessage
*
|
Http11ResponseL
(const
TInetAddr
&,
TInt
)
|
IMPORT_C
CUpnpHttpMessage
*
|
HttpGetL
(
TInetAddr
&, const
TDesC8
&)
|
IMPORT_C
CUpnpHttpMessage
*
|
HttpGetL
(
TInetAddr
&, const
TDesC8
&, const
TDesC8
&)
|
IMPORT_C
CUpnpHttpMessage
*
|
HttpGetL
(const
TDesC8
&)
|
IMPORT_C
CUpnpHttpMessage
*
|
HttpGetL
(const
TDesC8
&, const
TDesC8
&)
|
IMPORT_C
CUpnpHttpMessage
*
|
HttpHeadL
(const
TDesC8
&)
|
IMPORT_C
CUpnpHttpMessage
*
|
HttpHeadL
(const
TDesC8
&, const
TDesC8
&)
|
IMPORT_C
CUpnpHttpMessage
*
|
HttpHeadL
(
TInetAddr
&, const
TDesC8
&)
|
IMPORT_C
CUpnpHttpMessage
*
|
HttpPostL
(const
TDesC8
&)
|
IMPORT_C
CUpnpHttpMessage
*
|
HttpPostL
(const
TDesC8
&, const
TDesC8
&)
|
IMPORT_C
CUpnpHttpMessage
*
|
HttpPostL
(const
TInetAddr
&, const
TDesC8
&)
|
IMPORT_C
CUpnpHttpMessage
*
|
HttpResponseErrorL
(
CUpnpHttpMessage
*,
TInt
)
|
IMPORT_C
CUpnpHttpMessage
*
|
HttpResponseErrorL
(const
TInetAddr
&,
TInt
)
|
IMPORT_C
CUpnpHttpMessage
*
|
HttpResponseOkL
(
CUpnpHttpMessage
*)
|
IMPORT_C
CUpnpHttpMessage
*
|
HttpResponseOkL
(const
TInetAddr
&)
|
IMPORT_C
CUpnpHttpMessage
*
|
UpnpResponseErrorL
(
CUpnpHttpMessage
*,
TUpnpErrorCode
)
|
IMPORT_C
CUpnpHttpMessage
*
|
UpnpResponseErrorL
(const
TInetAddr
&,
TUpnpErrorCode
)
|
Member Functions Documentation
Http11ResponseL(CUpnpHttpMessage *, TInt)
Creates a HTTP reply message.
Http11ResponseL(const TInetAddr &, TInt)
IMPORT_C
CUpnpHttpMessage
*
|
Http11ResponseL
|
(
|
const
TInetAddr
&
|
aDestination,
|
|
TInt
|
aStatus
|
|
)
|
[static]
|
Creates a HTTP reply message.
Parameters
const
TInetAddr
& aDestination
|
Destination of the reply message.
|
TInt
aStatus
|
Number of status code.
|
HttpGetL(TInetAddr &, const TDesC8 &)
Constructor function; Creates HTTP get message, which is used normally to get content from remote servers.
Parameters
TInetAddr
& aDestination
|
Destination of the message.
|
const
TDesC8
& aPath
|
path to file in Http server.
|
HttpGetL(TInetAddr &, const TDesC8 &, const TDesC8 &)
Constructor function; Creates HTTP get message, which is used normally to get content from remote servers.
Parameters
TInetAddr
& aDestination
|
Destination of the message.
|
const
TDesC8
& aHeadPath
|
Start path to file in Http server.
|
const
TDesC8
& aTailPath
|
End path to file in Http server.
|
HttpGetL(const TDesC8 &)
Constructor function; Creates HTTP get message, which is used normally to get content from remote servers.
Parameters
const
TDesC8
& aUrl
|
Url to file.
|
HttpGetL(const TDesC8 &, const TDesC8 &)
Constructor function; Creates HTTP get message, which is used normally to get content from remote servers.
Parameters
const
TDesC8
& aDestination
|
Destination of the message.
|
const
TDesC8
& aPath
|
path to file in Http server.
|
HttpHeadL(const TDesC8 &)
Constructor function; Creates HTTP HEAD message.
Parameters
const
TDesC8
& aUrl
|
Url to file/target/service.
|
HttpHeadL(const TDesC8 &, const TDesC8 &)
Constructor function; Creates HTTP HEAD message.
Parameters
const
TDesC8
& aDestination
|
Destination of the message.
|
const
TDesC8
& aPath
|
path to file in Http server.
|
HttpHeadL(TInetAddr &, const TDesC8 &)
Constructor function; Creates HTTP HEAD message.
Parameters
TInetAddr
& aDestination
|
Destination of the message.
|
const
TDesC8
& aPath
|
path to file in Http server.
|
HttpPostL(const TDesC8 &)
Constructor function; Creates HTTP POST message.
Parameters
const
TDesC8
& aUrl
|
Url to file/target/service.
|
HttpPostL(const TDesC8 &, const TDesC8 &)
Constructor function; Creates HTTP POST message.
Parameters
const
TDesC8
& aDestination
|
Destination of the message.
|
const
TDesC8
& aPath
|
path to file in Http server.
|
HttpPostL(const TInetAddr &, const TDesC8 &)
Constructor function; Creates HTTP POST message.
Parameters
const
TInetAddr
& aDestination
|
Destination of the message.
|
const
TDesC8
& aPath
|
path to file in Http server.
|
HttpResponseErrorL(CUpnpHttpMessage *, TInt)
Creates a HTTP Error message.
HttpResponseErrorL(const TInetAddr &, TInt)
Creates a HTTP Error message.
Parameters
const
TInetAddr
& aAddr
|
Destination of the error message.
|
TInt
aError
|
Number of error code.
|
HttpResponseOkL(CUpnpHttpMessage *)
Creates a HTTP OK reply message, Code 200.
HttpResponseOkL(const TInetAddr &)
IMPORT_C
CUpnpHttpMessage
*
|
HttpResponseOkL
|
(
|
const
TInetAddr
&
|
aDestination
|
)
|
[static]
|
Creates a HTTP OK reply message, Code 200.
Parameters
const
TInetAddr
& aDestination
|
Destination of the reply message.
|
SetHostHeaderL(CUpnpHttpMessage *, const TInetAddr &)
void
|
SetHostHeaderL
|
(
|
CUpnpHttpMessage
*
|
aMessage,
|
|
const
TInetAddr
&
|
aDestination
|
|
)
|
[private, static]
|
Sets Host HTTP header to given message basing on given destinstion address.
Parameters
CUpnpHttpMessage
* aMessage
|
Message for which the Host header will be set.
|
const
TInetAddr
& aDestination
|
Destination address.
|
UpnpResponseErrorL(CUpnpHttpMessage *, TUpnpErrorCode)
Creates a HTTP Error message with UPnp error codes.
UpnpResponseErrorL(const TInetAddr &, TUpnpErrorCode)
Creates a HTTP Error message with UPnp error codes.
Parameters
const
TInetAddr
& aDestination
|
Destination of the error message.
|
TUpnpErrorCode
aError
|
Number of error code.
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.