Метод | Описание | |
---|---|---|
HandleETag ( |
Verifies if the client has a cached copy of the resource. Sets up HttpResponse appropriately. Returns true if cached.
|
|
HandleETag ( |
Verifies if the client has a cached copy of the resource. Sets up HttpResponse appropriately. Returns true if cached.
|
|
HandleETag ( |
Verifies if the client has a cached copy of the resource. Sets up HttpResponse appropriately. Returns true if cached.
|
Метод | Описание | |
---|---|---|
CalculateETag ( ) : string |
Sets ETag.Value
|
|
ComputeHash ( Stream value ) : string |
Generates a unique hash from Stream
|
|
ComputeHash ( byte value ) : string |
Generates a unique hash from byte[]
|
|
ComputeHash ( string value ) : string |
Generates a unique hash from string
|
|
GetLastModified ( ) : System.DateTime |
|
|
GetMetaData ( bool &isHash ) : object |
Provides an algorithm for generating an HTTP/1.1 Cache header Entity Tag (ETag) GetMetaData must return String, Byte[], or Stream |
Метод | Описание | |
---|---|---|
ETagsEqual ( string etag1, string etag2 ) : bool |
see System.Web.StaticFileHandler
|
|
FormatBytes ( byte value ) : string |
Gets the hex digits for the given bytes
|
|
FormatTimeHeader ( System.DateTime time ) : string |
Converts a DateTime to a valid header string
|
protected static ComputeHash ( Stream value ) : string | ||
value | Stream | |
Результат | string |
protected static ComputeHash ( byte value ) : string | ||
value | byte | |
Результат | string |
protected static ComputeHash ( string value ) : string | ||
value | string | |
Результат | string |
protected GetLastModified ( ) : System.DateTime | ||
Результат | System.DateTime |
protected abstract GetMetaData ( bool &isHash ) : object | ||
isHash | bool | |
Результат | object |
public HandleETag ( |
||
context | ||
Результат | bool |
public HandleETag ( |
||
context | ||
cacheability | HttpCacheability | |
Результат | bool |
public HandleETag ( |
||
context | ||
cacheability | HttpCacheability | |
forceRefresh | bool | |
Результат | bool |