[This is preliminary documentation and is subject to change.]
The EmbeddedSiteHandler type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | EmbeddedSiteHandler(WorkDispatcher, IConfigSectionNode) | Initializes a new instance of the EmbeddedSiteHandler class |
![]() | EmbeddedSiteHandler(WorkDispatcher, String, Int32, WorkMatch) | Initializes a new instance of the EmbeddedSiteHandler class |
Methods
Name | Description | |
---|---|---|
![]() | ___setParentHandler | (Inherited from WorkHandler.) |
![]() | __setComponentDirector | (Inherited from ApplicationComponent.) |
![]() | Destructor | (Inherited from WorkHandler.) |
![]() | DispatchAction |
Dispatched appropriate action
|
![]() | DispatchNonSiteAction |
Dispatches an action which is not a site-serving one
|
![]() | Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) |
![]() | DoHandleWork | (Overrides WorkHandler DoHandleWork(WorkContext).) |
![]() | EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.) |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | FilterAndHandleWork |
Handles the work - first involes all filters then calls HandleWork to do actual processing
Note: This method is re-entrant by multiple threads
(Inherited from WorkHandler.) |
![]() | Finalize | (Inherited from DisposableObject.) |
![]() | GetActions |
Override to declare what actions this site can perform
|
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | HandleWork |
Handles the work - i.e. renders a template page or calls MVC controller method.
This method does not pass through handler's filters
Note: This method is re-entrant by multiple threads
(Inherited from WorkHandler.) |
![]() | MakeMatch |
Returns true when the particular work request matches the pattern match of this handler.
Also sets the WorkHandler's MatchedVars property filled with matched values
(Inherited from WorkHandler.) |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ParseWork |
Override to extract action and path form request
|
![]() | RegisterFilter |
Registers filter and returns true if the named instance has not been registered yet
Note: it is possible to call this method on active server that is - inject filters while serving requests
(Inherited from WorkHandler.) |
![]() | SetResourceCacheHeader |
Override to set specific cache header set per resource name
|
![]() | ToString | (Inherited from WorkHandler.) |
![]() | UnRegisterFilter |
Unregisters filter and returns true if the named instance has been removed
Note: it is possible to call this method on active server that is - remove filters while serving requests
(Inherited from WorkHandler.) |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() ![]() | CONFIG_CACHE_CONTROL_SECTION | |
![]() ![]() | DEFAULT_SITE_PATH | |
![]() ![]() | SITE_ACTION | |
![]() ![]() | VAR_PATH |
Properties
Name | Description | |
---|---|---|
![]() | Actions |
Returns actions that this site can perform
|
![]() | CacheControl | |
![]() | ComponentCommonName |
Returns the common name used to identify the component, for example "Glue" for various IGlue implementations.
This name is searched-by some management tools that allow to find component by this name that does not change between
application restarts like ComponentSID does. Subordinate (non-root) components return null
(Inherited from ApplicationComponent.) |
![]() | ComponentDirector |
Returns a reference to an object that this app component services/operates under, or null
(Inherited from ApplicationComponent.) |
![]() | ComponentSID |
Returns process/instance unique app component system id
(Inherited from ApplicationComponent.) |
![]() | ComponentStartTime |
Returns local computer time of component start (not from application container time)
(Inherited from ApplicationComponent.) |
![]() | DefaultSitePath |
Returns default site path that serves site root
|
![]() | Dispatcher |
Returns the dispatcher that this handler works under
(Inherited from WorkHandler.) |
![]() | Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.) |
![]() | DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.) |
![]() | Filters |
Returns ordered registry of filters
(Inherited from WorkHandler.) |
![]() | Matches |
Returns matches used by this handler. May change the registry at runtime (inject/remove matches)
(Inherited from WorkHandler.) |
![]() | Name |
Returns the handler instance name
(Inherited from WorkHandler.) |
![]() | NetGate |
Returns network gate that handler implementation may use to set business variables or null
(Inherited from WorkHandler.) |
![]() | Order |
Returns the handler order in handler registry. Order is used for URI pattern matching
(Inherited from WorkHandler.) |
![]() | ParentHandler |
Returns parent handler that this handler is under or null
(Inherited from WorkHandler.) |
![]() | RootResourcePath |
Returns resource path root, i.e. namespace prefixes where resources reside
|
![]() | Server |
Returns the server that this handler works under
(Inherited from WorkHandler.) |
![]() | SiteAction |
Returns name for action that serves embedded site
|
![]() | SupportsEnvironmentBranching |
Override in sites that do not support named environment sub-folders in resource structure.
True by default
|
![]() | VersionSegmentPrefix |
When set indicates the case-insensitive prefix of a path segment that should be ignored by the handler path resolver.
Version prefixes are used for attaching a surrogate path "folder" that makes resource differ based on their content.
For example when prefix is "@", path '/embedded/img/@767868768768/picture.png' resolves to actual '/embedded/img/picture.png'
|
See Also