C# 클래스 Microsoft.Samples.Synchronization.ClientServices.HttpCacheRequestHandler

A Http transport implementation for processing a CachedRequest.
상속: CacheRequestHandler
파일 보기 프로젝트 열기: rafek/SyncFx

공개 프로퍼티들

프로퍼티 타입 설명
TempIdToEntityMapping IOfflineEntity>.Dictionary

공개 메소드들

메소드 설명
FirePostResponseHandler ( HttpWebResponse response ) : void

Invokes the user's AfterReceivingResponse callback.

FirePreRequestHandler ( HttpWebRequest request ) : void

Invokes the user BeforeSendingRequest callback.

HttpCacheRequestHandler ( Uri serviceUri, CacheControllerBehavior behaviors ) : System
ProcessCacheRequest ( CacheRequest request ) : object

Called by the CacheController when it wants this CacheRequest to be processed.

비공개 메소드들

메소드 설명
CheckEntityServiceMetadataAndTempIds ( IOfflineEntity>.Dictionary tempIdToEntityMapping, IOfflineEntity entity, string tempId, ChangeSetResponse response ) : void
CopyStreamContent ( Stream src, Stream dst ) : void
ProcessDownloadRequest ( HttpWebRequest webRequest, CacheRequest request ) : object
ProcessUploadRequest ( HttpWebRequest webRequest, CacheRequest request ) : object

메소드 상세

FirePostResponseHandler() 공개 메소드

Invokes the user's AfterReceivingResponse callback.
public FirePostResponseHandler ( HttpWebResponse response ) : void
response System.Net.HttpWebResponse
리턴 void

FirePreRequestHandler() 공개 메소드

Invokes the user BeforeSendingRequest callback.
public FirePreRequestHandler ( HttpWebRequest request ) : void
request System.Net.HttpWebRequest
리턴 void

HttpCacheRequestHandler() 공개 메소드

public HttpCacheRequestHandler ( Uri serviceUri, CacheControllerBehavior behaviors ) : System
serviceUri System.Uri
behaviors CacheControllerBehavior
리턴 System

ProcessCacheRequest() 공개 메소드

Called by the CacheController when it wants this CacheRequest to be processed.
public ProcessCacheRequest ( CacheRequest request ) : object
request CacheRequest CacheRequest to be processed
리턴 object

프로퍼티 상세

TempIdToEntityMapping 공개적으로 프로퍼티

public Dictionary TempIdToEntityMapping
리턴 IOfflineEntity>.Dictionary