RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterImageField.ImplCreateRequestContext Method

Creates AdapterRequest and AdapterResponse objects.

Pascal
procedure ImplCreateRequestContext(DispatchParams: IAdapterDispatchParams);
C++
__fastcall ImplCreateRequestContext(IAdapterDispatchParams DispatchParams);

ImplCreateRequestContext creates a new request and response objects based on the specified parameters and stores it with the global Web context. The adapter dispatcher calls this function before calling HandleRequest. The WebSnap can access the resulting request and response context by reading the AdapterRequest and AdapterResponse properties of the Web context, which is available through the global WebContext function. 

DispatchParams is an interface that contains the parameters that were included in the incoming request. These parameters can then be used to identify an image for this field's value. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!