[This is preliminary documentation and is subject to change.]
The StockContentSiteHandler type exposes the following members.Constructors
| Name | Description | |
|---|---|---|
| StockContentSiteHandler(WorkDispatcher, IConfigSectionNode) | Initializes a new instance of the StockContentSiteHandler class | |
| StockContentSiteHandler(WorkDispatcher, String, Int32, WorkMatch) | Initializes a new instance of the StockContentSiteHandler class |
Methods
| Name | Description | |
|---|---|---|
| ___setParentHandler | (Inherited from WorkHandler.) | |
| __setComponentDirector | (Inherited from ApplicationComponent.) | |
| Destructor | (Inherited from WorkHandler.) | |
| DispatchAction |
Dispatched appropriate action
(Inherited from EmbeddedSiteHandler.) | |
| DispatchNonSiteAction |
Dispatches an action which is not a site-serving one
(Inherited from EmbeddedSiteHandler.) | |
| Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) | |
| DoHandleWork | (Inherited from EmbeddedSiteHandler.) | |
| 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 | (Overrides EmbeddedSiteHandler GetActions .) | |
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
(Inherited from EmbeddedSiteHandler.) | |
| 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
(Inherited from EmbeddedSiteHandler.) | |
| 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
Properties
| Name | Description | |
|---|---|---|
| Actions |
Returns actions that this site can perform
(Inherited from EmbeddedSiteHandler.) | |
| CacheControl | (Inherited from EmbeddedSiteHandler.) | |
| 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
(Inherited from EmbeddedSiteHandler.) | |
| 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 | (Overrides EmbeddedSiteHandler RootResourcePath.) | |
| Server |
Returns the server that this handler works under
(Inherited from WorkHandler.) | |
| SiteAction |
Returns name for action that serves embedded site
(Inherited from EmbeddedSiteHandler.) | |
| SupportsEnvironmentBranching | (Overrides EmbeddedSiteHandler SupportsEnvironmentBranching.) | |
| 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'
(Inherited from EmbeddedSiteHandler.) |
See Also