FileUploadHttpRequestMessageHandler Class
Provides a FileStream the received data of chunked and non-chunked HttpRequestMessage s is written to.
Inheritance Hierarchy
SystemObject
TcHmiSrv.Core.Tools.Net.Http.HandlersChunkedHttpRequestMessageHandler
TcHmiSrv.Core.Tools.Net.Http.HandlersFileUploadHttpRequestMessageHandler
Namespace: TcHmiSrv.Core.Tools.Net.Http.Handlers
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version:
3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9
Syntax
C#
public sealed class FileUploadHttpRequestMessageHandler : ChunkedHttpRequestMessageHandler,
IDisposableThe FileUploadHttpRequestMessageHandler type exposes the following members.
Constructors
|
|
Name |
Description |
|---|---|---|
|
|
FileUploadHttpRequestMessageHandler(Context, HttpRequestMessage, String) |
Initializes a new instance of the FileUploadHttpRequestMessageHandler class with the specified Context, HttpResponseMessage and path. |
|
|
FileUploadHttpRequestMessageHandler(Context, HttpRequestMessage, String, Boolean) |
Initializes a new instance of the FileUploadHttpRequestMessageHandler class with the specified Context, HttpResponseMessage, path and a value that indicates whether all directories and subdirectories in the specified path should be created. |
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the content encoding of the received HttpRequestMessage
if specified in the Headers; otherwise,
null. | |
|
|
Gets the Context of the
client that sent the HttpRequest. | |
|
|
Gets a value that indicates whether the file created by this FileUploadHttpRequestMessageHandler existed before. | |
|
|
Gets the full path of the file created by this FileUploadHttpRequestMessageHandler. | |
|
|
Gets the received HttpRequestMessage. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Applies the decompression algorithm specified by ContentEncoding to
the specified Stream. | |
|
|
Releases all resources used by the FileUploadHttpRequestMessageHandler | |
|
|
Determines whether the specified object is equal to the current
object. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Returns a string that represents the current object. | |
|
|
Writes a block of Bytes to the current
IChunkedHttpRequestMessageHandler. |
Version Information
Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0
Reference
TcHmiSrv.Core.Tools.Net.Http.Handlers Namespace
Copyright © Beckhoff Automation GmbH & Co. KG