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.4.0.9.0.377 (.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 propertyReplaceFileExtensionOnSave
Gets or sets a value indicating for which files WDV should set extensions during document save operation.
Public propertyResponseCacheability
Gets or sets the Cache-Control header to one of the values of HttpCacheability
Public propertyResponseMaxAge
Gets or set a time span value for max-age HTTP header.
Public propertyResponseNoServerCaching
Gets or set a flag indicating whether or not stop all origin-server caching for the current response.
Public propertyResponseNoStore
Gets or set a flag indicating whether or not sets the Cache-Control: no-store HTTP header.
Public propertyResponseProxyMaxAge
Gets or set a time span value for s-maxage HTTP header.
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 eventAnnotationsDataResponseSend
Fires when constructing response JSON for requesting annotations data operation.
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 eventDocumentInfoRequestResponseSend
Fires when constructing response JSON for requesting document info operation.
Public eventDocumentSave
Fires when a document save request has been made from the client.
Public eventDocumentSaveResponseSend
Fires when constructing response JSON for saving document operation.
Public eventDocumentStreamWritten
Fires after the document has been written to the save stream, but before it's closed.
Public eventFileUpload
Fires when file upload request has been made from the client.
Public eventFileUploaded
Fires when file upload request has been processed.
Public eventFileUploadResponseSend
Fires when constructing response JSON for file upload request.
Public eventFormsDataResponseSend
Fires when constructing response JSON for requesting forms data operation.
Public eventImageRequested
Fires when an image is requested from the client.
Public eventPageTextRequested
Occurs when page text data requested.
Public eventPageTextRequestResponseSend
Fires when constructing response JSON for requesting page text operation.
Public eventPageTextSearchResponseSend
Fires when constructing response JSON for searching text on a page operation.
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