Search Results for

    Show / Hide Table of Contents

    Class HttpHandlerBase

    Base implementation of a Reusable IHttpHandler

    Inheritance
    System.Object
    HttpHandlerBase
    RouteHandlerBase
    Implements
    System.Web.IHttpHandler
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: ImageVault.Common.Lib.Web
    Assembly: ImageVault.Common.dll
    Syntax
    public abstract class HttpHandlerBase

    Constructors

    HttpHandlerBase()

    Initializes a new instance of the HttpHandlerBase class.

    Declaration
    protected HttpHandlerBase()

    Fields

    Log

    Gets the Log instance used to log messages

    Declaration
    protected ILog Log
    Field Value
    Type Description
    ILog

    Properties

    DenyAnonymous

    Get/Sets the DenyAnonymous of the RouteHandlerBase

    Declaration
    public bool DenyAnonymous { get; set; }
    Property Value
    Type Description
    System.Boolean

    If true, will raise a Access denied response if the current user isn't logged in

    IsReusable

    Gets the IsReusable of the EditorService

    Declaration
    public bool IsReusable { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    IsAccessAllowed(HttpContextBase)

    Determines if the current request is allowed access

    Declaration
    protected virtual bool IsAccessAllowed(HttpContextBase context)
    Parameters
    Type Name Description
    System.Web.HttpContextBase context
    Returns
    Type Description
    System.Boolean

    ProcessRequest(HttpContextBase)

    Declaration
    public abstract void ProcessRequest(HttpContextBase context)
    Parameters
    Type Name Description
    System.Web.HttpContextBase context

    SendAccessDeniedResponse(HttpContextBase)

    Sends an access denied response to the client

    Declaration
    protected static void SendAccessDeniedResponse(HttpContextBase context)
    Parameters
    Type Name Description
    System.Web.HttpContextBase context

    SendFileNotFoundResponse(HttpContextBase, String)

    Sends a file not found message to the client

    Declaration
    protected static void SendFileNotFoundResponse(HttpContextBase context, string description = null)
    Parameters
    Type Name Description
    System.Web.HttpContextBase context
    System.String description

    SendInternalServerError(Exception, HttpContextBase)

    Sends an internal server error message

    Declaration
    protected static void SendInternalServerError(Exception ex, HttpContextBase context)
    Parameters
    Type Name Description
    System.Exception ex
    System.Web.HttpContextBase context

    Implements

    System.Web.IHttpHandler

    Extension Methods

    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022