Click or drag to resize

WebDocumentRequestHandler Class

Web Handler used to handle requests from the WebDocumentViewer
Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.WebControlsWebDocumentRequestHandler

Namespace:  Atalasoft.Imaging.WebControls
Assembly:  Atalasoft.dotImage.WebControls (in Atalasoft.dotImage.WebControls.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class WebDocumentRequestHandler : IHttpHandler

The WebDocumentRequestHandler type exposes the following members.

Constructors
  NameDescription
Public methodWebDocumentRequestHandler
Initializes a new instance of the WebDocumentRequestHandler class.
Top
Properties
  NameDescription
Public propertyIsReusable
Gets a value indicating whether another request can use the IHttpHandler instance.
Public propertyResponseCacheability
Sets the Cache-Control header to one of the values of HttpCacheability
Public propertyResponseMaxAge
Sets the Cache-Control: max-age HTTP header based on the specified time span.
Public propertyResponseNoServerCaching
When set to true, it stops all origin-server caching for the current response.
Public propertyResponseNoStore
When set to true, it sets the Cache-Control: no-store HTTP header.
Public propertyResponseProxyMaxAge
Sets the Cache-Control: s-maxage HTTP header based on the specified time span.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAnnotationDataRequested
Called by the handler when a request has come from client side javascript, requesting annotation data. This subsequently fires the AnnotationDataRequested event.
Protected methodOnAnnotationStreamWritten
Called by the handler during a save event, right before the AnnotationStream is closed. This subsequently fires the AnnotationStreamWritten event.
Protected methodOnDocumentInfoRequested
Called by the handler when a request has come from client side javascript, requesting document info. This subsequently fires the DocumentInfoRequested event.
Protected methodOnDocumentSave
Called by the handler when a request to save the document has come from client side javascript. This subsequently fires the DocumentSave event.
Protected methodOnDocumentStreamWritten
Called by the handler during a save event, right before the DocumentStream is closed. This subsequently fires the DocumentStreamWritten event.
Protected methodOnImageRequested
Called by the handler when a request has come from client side javascript, requesting an image representing one page of the document. This subsequently fires the ImageRequested event.
Protected methodOnPageTextRequested
Raises the PageTextRequested event.
Protected methodOnPdfFormRequested
Called by the handler when a request has come from client side javascript, requesting PDF form fields. This subsequently fires the PdfFormRequested event.
Public methodProcessRequest
Public methodReadScaledImage
Reads the given stream and attemps to use the codec's more efficient scaled reading (if available)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventAnnotationDataRequested
Fires when annotation data has been requested by the client.
Public eventAnnotationStreamWritten
Fires after the annotation data has been written to the annotation stream, but before it's closed.
Public eventDocumentInfoRequested
Fires when document info is requested from the client.
Public eventDocumentSave
Fires when a document save request has been made from the client.
Public eventDocumentStreamWritten
Fires after the document has been written to the save stream, but before it's closed.
Public eventImageRequested
Fires when an image is requested from the client.
Public eventPageTextRequested
Occurs when page text data requested.
Public eventPdfFormRequested
Fires when the PDF form fields are requested from the client.
Public eventReleaseDocumentStream
Fires when a document release stream occurs on document save. This event is raised only for streams that were provided in ResolveDocumentUri event.
Public eventReleasePageStream
Fires when a page release stream occurs on document save. This event is raised only for streams that were provided in ResolvePageUri event.
Public eventResolveDocumentUri
Fires when a source document stream is requested while performing save operation.
Public eventResolvePageUri
Fires when a source page stream is requested while performing save operation.
Top
Fields
  NameDescription
Protected fieldStatic memberLogger
The logger.
Top
See Also