메소드 | 설명 | |
---|---|---|
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 |