WebProcessor Class

This is a Library topic for RemObjects SDK for .NET
This page is generated from external data, please do not update
Namespaces — Interfaces — Classes — Enums — Implements
Contents |
Overview
The WebProcessor class is a server component that can be used to make your services accessible via the HTTP protocol.
This server channel allows to easily add an API to an existing ASP.NET website. The WebProcessor instance is usually wrapped into a HttpContext handler and provides access to one or more services via the HTTP protocol.
You can see the WebProcessor class in action in the ASP.NET 2.0 sample shipped with RemObjects SDK for .NET.
Location
- Assembly: RemObjects.SDK.Server.dll
- Namespace: RemObjects.SDK.Server.Web
- Ancestry: System.ComponentModel.Component | Channel | ServerChannel | HttpServerChannel | WebProcessor
Constants
| DEFAULT_SERVER_NAME protected (declared in HttpServerChannel) |
|---|
|
|
Properties
| Active (declared in ServerChannel) |
|---|
|
Toggles whether the server component is active or not. Set it to true (either from code or in the Property Pane) to have your server active and listening for requests from clients or set it to false to prevent new requests from being accepted.
|
| ChannelType (declared in HttpServerChannel) |
|
Returns 'http'. This property is used by the ZeroConf infrastructure.
|
| CustomParameters (declared in ServerChannel) |
|
|
| Dispatchers (declared in ServerChannel) |
|
Organizes the different Dispatchers configured for the server. Depending on the server type, different dispatchers can be made accessible through different names (for example the HTTP based servers use the Path provided with the HTTP request to determine the dispatcher) or the dispatcher marked as Default will be used. Note: A design time editor for the Dispatcher collection is provided in the IDE, which you can invoke by clicking the ellipsis (...) button in the Properties Pane. You can use this editor to create new MessageDispatcher instances at design time and link them to the specific message components you have dropped onto your form.
|
| EntryAssembly |
|
Assembly containing the RODL resource. If not specified, the RodlResource.SystemRodl will be used. (See the RodlResource for more detail on how the RODL resources are handled.)
|
| ExtendedDispatchers (declared in HttpServerChannel) |
|
|
| HasAfterReceiveStream protected (declared in Channel) |
|
|
| HasBeforeSendStream protected (declared in Channel) |
|
|
| Initializing protected (declared in ServerChannel) |
|
|
| Messages (declared in ServerChannel) |
|
|
| SecurityOptions (declared in HttpServerChannel) |
|
Gives access to server security options of this server channel instance. Using this property, you can set up MaxRequestSize, MaxRequestTime etc.
|
| SendClientAccessPolicyXml (declared in HttpServerChannel) |
|
Determines how the server channel should handle requests for clientaccesspolicy.xml (security policy file used by Silverlight). Can be set to:
|
| SendCrossOriginHeader (declared in HttpServerChannel) |
|
|
| SendExceptionsAs500 (declared in HttpServerChannel) |
|
If set to true, messages about exceptions occurred on the server will be sent with a HTTP Error 500 header set (standard HTTP header for internal server errors).
|
| ServeInfoPage (declared in HttpServerChannel) |
|
Determines if the server info page should be served or not
|
| ServeRodl (declared in ServerChannel) |
|
Toggles whether clients can request the RODL file for this server via IRodlAccess or channel-specific means (such as by submitting a HTTP GET request to an HTTP server). By default, this option is turned on; set this property to false if you want to prevent clients from retrieving the RODL file from the server.
|
Instance Methods
| constructor () |
|---|
|
Creates a new instance of the WebProcessor class.
|
| constructor (Boolean) protected (declared in HttpServerChannel) |
|
|
| Activate (declared in ServerChannel) |
|
Alias for the Open method.
|
| Close (declared in ServerChannel) |
|
Closes the ServerChannel component and stops it from accepting any more incoming requests.
|
| CopyProperties protected (declared in Channel) |
|
|
| Deactivate (declared in ServerChannel) |
|
Alias for the Close method.
|
| Dispatch protected (declared in ServerChannel) |
|
|
| Dispose protected (declared in HttpServerChannel) |
|
|
| DoClose protected |
|
Performs actions needed to deactivate and close the server channel.
|
| DoEndInit protected (declared in ServerChannel) |
|
|
| DoOpen protected |
|
Performs actions needed to activate the server channel.
|
| Open (declared in ServerChannel) |
|
Opens the ServerChannel component and starts accepting incoming requests. Depending on the server type, this usually involves starting to listen on a network socket or polling some source for waiting messages.
|
| ProcessRequest |
|
Processes incoming HTTP requests.
|
| Register (declared in HttpServerChannel) |
|
|
| StartListening (declared in ServerChannel) |
|
Alias for the Open method.
|
| StopListening (declared in ServerChannel) |
|
Alias for the Close method.
|
| TriggerAfterClose protected (declared in ServerChannel) |
|
|
| TriggerAfterOpen protected (declared in ServerChannel) |
|
|
| TriggerAfterReceiveStream protected (declared in Channel) |
|
|
| TriggerBeforeClose protected (declared in ServerChannel) |
|
|
| TriggerBeforeOpen protected (declared in ServerChannel) |
|
|
| TriggerBeforeSendStream protected (declared in Channel) |
|
|
| TriggerOnAdjustConvertedRodl protected |
|
Calls the handler for the OnAdjustConvertedRodl event.
|
| TriggerOnAdjustRodl protected |
|
Calls the handler for the OnAdjustRodl event.
|
| TriggerOnCustomClientAccessPolicy protected (declared in HttpServerChannel) |
|
Fires the OnCustomClientAccessPolicy event and returns the security policy file generated by its handler (via aPolicyContent parameter). Can be called only from the ancestor class.
|
| TriggerOnCustomCrossOrigin protected (declared in HttpServerChannel) |
|
|
| TriggerOnGetRodl protected |
|
Calls the handler for the OnGetRodl event.
|
| Unregister (declared in HttpServerChannel) |
|
|
Events
| AfterClose (declared in ServerChannel) |
|---|
|
|
| AfterOpen (declared in ServerChannel) |
|
|
| AfterReceiveStream (declared in Channel) |
|
This event is triggered by client and server channels directly after a request or response stream has been received and before the stream gets parsed into a message. User code can assign handlers to this event to process, inspect or modify incoming messages, before they get handled by the RemObjects SDK framework. The passed Stream is a MemoryStream and may be modified. If no handlers are assigned to the AfterReceiveStream event, the message will load the data directly from the incoming medium (usually the network stream); assigning event handlers to AfterReceiveStream will induce a slight overhead as the data will first be copied into a local memory buffer for the event handler. This should not have any noticeably effect except for very large messages or on resource-limited systems such as Compact Framework Clients, but if utmost performance is important, take this note into consideration.
C#: event StreamEventHandler AfterReceiveStream VB: Event AfterReceiveStream As StreamEventHandler
|
| BeforeClose (declared in ServerChannel) |
|
|
| BeforeOpen (declared in ServerChannel) |
|
|
| BeforeSendStream (declared in Channel) |
|
This event is triggered by client and server channels directly before a request or response stream will be sent over the network. User code can assign handlers to this event to process, inspect or modify incoming messages before they get sent out to the remote system. The passed Stream is a MemoryStream and may be modified.
C#: event StreamEventHandler BeforeSendStream VB: Event BeforeSendStream As StreamEventHandler
|
| OnAdjustConvertedRodl |
|
This event is fired only if a RODL is requested via the MessageDispather that supports the IRodlConverter interface and allows to adjust the converted RODL before it is sent back to the client.
C#: event OnAdjustRodlHandler OnAdjustConvertedRodl VB: Event OnAdjustConvertedRodl As OnAdjustRodlHandler
|
| OnAdjustRodl |
|
This event is fired after the RODL is retrieved and allows to adjust its contents before it is sent back to the client.
C#: event OnAdjustRodlHandler OnAdjustRodl VB: Event OnAdjustRodl As OnAdjustRodlHandler
|
| OnCustomClientAccessPolicy (declared in HttpServerChannel) |
|
This event is fired when SendClientAccessPolicyXml is set to Custom. Allows more precise management of client access policies. The handler of this event generates a valid ClientAccessPolicy.xml and puts it to the aPolicyContent parameter.
C#: event OnCustomClientAccessPolicyHandler OnCustomClientAccessPolicy VB: Event OnCustomClientAccessPolicy As OnCustomClientAccessPolicyHandler
|
| OnCustomCrossOrigin (declared in HttpServerChannel) |
|
|
| OnGetRodl |
|
This event is fired when the RODL is requested and allows to provide request-specific RODL.
C#: event OnAdjustRodlHandler OnGetRodl VB: Event OnGetRodl As OnAdjustRodlHandler |
See Also
- HTTP Channel
- How to Write a RemObjects SDK Server (.NET)
- ASP.NET Support in Data Abstract
- Services (Service Builder)
- RODL
- ServerChannel
- IHttpServer
- HttpSysServerChannel
- IpHttpServerChannel
- ServiceManager
- RodlResource
- .NET Framework
- Lists
- RemObjects SDK for .NET: Namespaces — Interfaces — Classes — Enums — Implements
- RemObjects SDK shared: Data Types – File Types
- other editions
- RemObjects SDK for Xcode: Protocols — Classes — Enums — Aliases — Implements
- RemObjects SDK for Delphi: Interfaces — Classes — Aliases — Implements
- RemObjects SDK for Java: Namespaces — Interfaces — Classes — Enums — Implements
- RemObjects SDK for JavaScript: Objects

Product: RemObjects SDK
Available Editions: RemObjects SDK for .NET, Xcode, Delphi, Java and JavaScript
