Метод | Описание | |
---|---|---|
CalculateExpiry ( Sharpen.URLConnection urlConnection ) : long | ||
DefaultUrlConnectionExpiryCalculator ( ) : System |
Creates a new default expiry calculator with one minute relative expiry. Creates a new default expiry calculator with one minute relative expiry. |
|
DefaultUrlConnectionExpiryCalculator ( long relativeExpiry ) : System |
Creates a new default expiry calculator with the specified relative expiry. Creates a new default expiry calculator with the specified relative expiry. |
public CalculateExpiry ( Sharpen.URLConnection urlConnection ) : long | ||
urlConnection | Sharpen.URLConnection | |
Результат | long |
public DefaultUrlConnectionExpiryCalculator ( ) : System | ||
Результат | System |
public DefaultUrlConnectionExpiryCalculator ( long relativeExpiry ) : System | ||
relativeExpiry | long | the fixed relative expiry, in milliseconds. |
Результат | System |