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, 
    IDisposable

The FileUploadHttpRequestMessageHandler type exposes the following members.

Constructors

 

Name

Description

FileUploadHttpRequestMessageHandler Class 1:

FileUploadHttpRequestMessageHandler(Context, HttpRequestMessage, String)

Initializes a new instance of the FileUploadHttpRequestMessageHandler class with the specified Context, HttpResponseMessage and path.

FileUploadHttpRequestMessageHandler Class 2:

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

FileUploadHttpRequestMessageHandler Class 3:

ContentEncoding

Gets the content encoding of the received HttpRequestMessage if specified in the Headers; otherwise, null.
(Inherited from ChunkedHttpRequestMessageHandler)

FileUploadHttpRequestMessageHandler Class 4:

Context

Gets the Context of the client that sent the HttpRequest.
(Inherited from ChunkedHttpRequestMessageHandler)

FileUploadHttpRequestMessageHandler Class 5:

FileExisted

Gets a value that indicates whether the file created by this FileUploadHttpRequestMessageHandler existed before.

FileUploadHttpRequestMessageHandler Class 6:

FilePath

Gets the full path of the file created by this FileUploadHttpRequestMessageHandler.

FileUploadHttpRequestMessageHandler Class 7:

HttpRequest

Gets the received HttpRequestMessage.
(Inherited from ChunkedHttpRequestMessageHandler)

Methods

 

Name

Description

FileUploadHttpRequestMessageHandler Class 8:

ApplyDecompression(Stream, Boolean)

Applies the decompression algorithm specified by ContentEncoding to the specified Stream.
(Inherited from ChunkedHttpRequestMessageHandler)

FileUploadHttpRequestMessageHandler Class 9:

Dispose

Releases all resources used by the FileUploadHttpRequestMessageHandler

FileUploadHttpRequestMessageHandler Class 10:

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)

FileUploadHttpRequestMessageHandler Class 11:

GetHashCode

Serves as the default hash function.
(Inherited from Object)

FileUploadHttpRequestMessageHandler Class 12:

GetType

Gets the Type of the current instance.
(Inherited from Object)

FileUploadHttpRequestMessageHandler Class 13:

ToString

Returns a string that represents the current object.
(Inherited from Object)

FileUploadHttpRequestMessageHandler Class 14:

Write

Writes a block of Bytes to the current IChunkedHttpRequestMessageHandler.
(Overrides ChunkedHttpRequestMessageHandlerWrite(Byte, Int32, Int32))

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