123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888 |
- .class public final Lokhttp3/CacheControl;
- .super Ljava/lang/Object;
- .source ""
- # annotations
- .annotation system Ldalvik/annotation/MemberClasses;
- value = {
- Lokhttp3/CacheControl$Builder;
- }
- .end annotation
- # static fields
- .field public static final FORCE_CACHE:Lokhttp3/CacheControl;
- .field public static final FORCE_NETWORK:Lokhttp3/CacheControl;
- # instance fields
- .field headerValue:Ljava/lang/String;
- .field private final immutable:Z
- .field private final isPrivate:Z
- .field private final isPublic:Z
- .field private final maxAgeSeconds:I
- .field private final maxStaleSeconds:I
- .field private final minFreshSeconds:I
- .field private final mustRevalidate:Z
- .field private final noCache:Z
- .field private final noStore:Z
- .field private final noTransform:Z
- .field private final onlyIfCached:Z
- .field private final sMaxAgeSeconds:I
- # direct methods
- .method static constructor <clinit>()V
- .locals 3
- new-instance v0, Lokhttp3/CacheControl$Builder;
- invoke-direct {v0}, Lokhttp3/CacheControl$Builder;-><init>()V
- invoke-virtual {v0}, Lokhttp3/CacheControl$Builder;->noCache()Lokhttp3/CacheControl$Builder;
- move-result-object v0
- invoke-virtual {v0}, Lokhttp3/CacheControl$Builder;->build()Lokhttp3/CacheControl;
- move-result-object v0
- sput-object v0, Lokhttp3/CacheControl;->FORCE_NETWORK:Lokhttp3/CacheControl;
- new-instance v0, Lokhttp3/CacheControl$Builder;
- invoke-direct {v0}, Lokhttp3/CacheControl$Builder;-><init>()V
- invoke-virtual {v0}, Lokhttp3/CacheControl$Builder;->onlyIfCached()Lokhttp3/CacheControl$Builder;
- move-result-object v0
- sget-object v1, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
- const v2, 0x7fffffff
- invoke-virtual {v0, v2, v1}, Lokhttp3/CacheControl$Builder;->maxStale(ILjava/util/concurrent/TimeUnit;)Lokhttp3/CacheControl$Builder;
- move-result-object v0
- invoke-virtual {v0}, Lokhttp3/CacheControl$Builder;->build()Lokhttp3/CacheControl;
- move-result-object v0
- sput-object v0, Lokhttp3/CacheControl;->FORCE_CACHE:Lokhttp3/CacheControl;
- return-void
- .end method
- .method constructor <init>(Lokhttp3/CacheControl$Builder;)V
- .locals 1
- invoke-direct {p0}, Ljava/lang/Object;-><init>()V
- iget-boolean v0, p1, Lokhttp3/CacheControl$Builder;->noCache:Z
- iput-boolean v0, p0, Lokhttp3/CacheControl;->noCache:Z
- iget-boolean v0, p1, Lokhttp3/CacheControl$Builder;->noStore:Z
- iput-boolean v0, p0, Lokhttp3/CacheControl;->noStore:Z
- iget v0, p1, Lokhttp3/CacheControl$Builder;->maxAgeSeconds:I
- iput v0, p0, Lokhttp3/CacheControl;->maxAgeSeconds:I
- const/4 v0, -0x1
- iput v0, p0, Lokhttp3/CacheControl;->sMaxAgeSeconds:I
- const/4 v0, 0x0
- iput-boolean v0, p0, Lokhttp3/CacheControl;->isPrivate:Z
- iput-boolean v0, p0, Lokhttp3/CacheControl;->isPublic:Z
- iput-boolean v0, p0, Lokhttp3/CacheControl;->mustRevalidate:Z
- iget v0, p1, Lokhttp3/CacheControl$Builder;->maxStaleSeconds:I
- iput v0, p0, Lokhttp3/CacheControl;->maxStaleSeconds:I
- iget v0, p1, Lokhttp3/CacheControl$Builder;->minFreshSeconds:I
- iput v0, p0, Lokhttp3/CacheControl;->minFreshSeconds:I
- iget-boolean v0, p1, Lokhttp3/CacheControl$Builder;->onlyIfCached:Z
- iput-boolean v0, p0, Lokhttp3/CacheControl;->onlyIfCached:Z
- iget-boolean v0, p1, Lokhttp3/CacheControl$Builder;->noTransform:Z
- iput-boolean v0, p0, Lokhttp3/CacheControl;->noTransform:Z
- iget-boolean p1, p1, Lokhttp3/CacheControl$Builder;->immutable:Z
- iput-boolean p1, p0, Lokhttp3/CacheControl;->immutable:Z
- return-void
- .end method
- .method private constructor <init>(ZZIIZZZIIZZZLjava/lang/String;)V
- .locals 0
- invoke-direct {p0}, Ljava/lang/Object;-><init>()V
- iput-boolean p1, p0, Lokhttp3/CacheControl;->noCache:Z
- iput-boolean p2, p0, Lokhttp3/CacheControl;->noStore:Z
- iput p3, p0, Lokhttp3/CacheControl;->maxAgeSeconds:I
- iput p4, p0, Lokhttp3/CacheControl;->sMaxAgeSeconds:I
- iput-boolean p5, p0, Lokhttp3/CacheControl;->isPrivate:Z
- iput-boolean p6, p0, Lokhttp3/CacheControl;->isPublic:Z
- iput-boolean p7, p0, Lokhttp3/CacheControl;->mustRevalidate:Z
- iput p8, p0, Lokhttp3/CacheControl;->maxStaleSeconds:I
- iput p9, p0, Lokhttp3/CacheControl;->minFreshSeconds:I
- iput-boolean p10, p0, Lokhttp3/CacheControl;->onlyIfCached:Z
- iput-boolean p11, p0, Lokhttp3/CacheControl;->noTransform:Z
- iput-boolean p12, p0, Lokhttp3/CacheControl;->immutable:Z
- iput-object p13, p0, Lokhttp3/CacheControl;->headerValue:Ljava/lang/String;
- return-void
- .end method
- .method private headerValue()Ljava/lang/String;
- .locals 4
- new-instance v0, Ljava/lang/StringBuilder;
- invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
- iget-boolean v1, p0, Lokhttp3/CacheControl;->noCache:Z
- if-eqz v1, :cond_0
- const-string v1, "no-cache, "
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- :cond_0
- iget-boolean v1, p0, Lokhttp3/CacheControl;->noStore:Z
- if-eqz v1, :cond_1
- const-string v1, "no-store, "
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- :cond_1
- iget v1, p0, Lokhttp3/CacheControl;->maxAgeSeconds:I
- const-string v2, ", "
- const/4 v3, -0x1
- if-eq v1, v3, :cond_2
- const-string v1, "max-age="
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- iget v1, p0, Lokhttp3/CacheControl;->maxAgeSeconds:I
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
- invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- :cond_2
- iget v1, p0, Lokhttp3/CacheControl;->sMaxAgeSeconds:I
- if-eq v1, v3, :cond_3
- const-string v1, "s-maxage="
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- iget v1, p0, Lokhttp3/CacheControl;->sMaxAgeSeconds:I
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
- invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- :cond_3
- iget-boolean v1, p0, Lokhttp3/CacheControl;->isPrivate:Z
- if-eqz v1, :cond_4
- const-string v1, "private, "
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- :cond_4
- iget-boolean v1, p0, Lokhttp3/CacheControl;->isPublic:Z
- if-eqz v1, :cond_5
- const-string v1, "public, "
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- :cond_5
- iget-boolean v1, p0, Lokhttp3/CacheControl;->mustRevalidate:Z
- if-eqz v1, :cond_6
- const-string v1, "must-revalidate, "
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- :cond_6
- iget v1, p0, Lokhttp3/CacheControl;->maxStaleSeconds:I
- if-eq v1, v3, :cond_7
- const-string v1, "max-stale="
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- iget v1, p0, Lokhttp3/CacheControl;->maxStaleSeconds:I
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
- invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- :cond_7
- iget v1, p0, Lokhttp3/CacheControl;->minFreshSeconds:I
- if-eq v1, v3, :cond_8
- const-string v1, "min-fresh="
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- iget v1, p0, Lokhttp3/CacheControl;->minFreshSeconds:I
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
- invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- :cond_8
- iget-boolean v1, p0, Lokhttp3/CacheControl;->onlyIfCached:Z
- if-eqz v1, :cond_9
- const-string v1, "only-if-cached, "
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- :cond_9
- iget-boolean v1, p0, Lokhttp3/CacheControl;->noTransform:Z
- if-eqz v1, :cond_a
- const-string v1, "no-transform, "
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- :cond_a
- iget-boolean v1, p0, Lokhttp3/CacheControl;->immutable:Z
- if-eqz v1, :cond_b
- const-string v1, "immutable, "
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
- :cond_b
- invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
- move-result v1
- if-nez v1, :cond_c
- const-string v0, ""
- return-object v0
- :cond_c
- invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
- move-result v1
- add-int/lit8 v1, v1, -0x2
- invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
- move-result v2
- invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->delete(II)Ljava/lang/StringBuilder;
- invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
- move-result-object v0
- return-object v0
- .end method
- .method public static parse(Lokhttp3/Headers;)Lokhttp3/CacheControl;
- .locals 22
- move-object/from16 v0, p0
- invoke-virtual/range {p0 .. p0}, Lokhttp3/Headers;->size()I
- move-result v1
- const/4 v6, 0x0
- const/4 v7, 0x1
- const/4 v8, 0x0
- const/4 v9, 0x0
- const/4 v10, 0x0
- const/4 v11, -0x1
- const/4 v12, -0x1
- const/4 v13, 0x0
- const/4 v14, 0x0
- const/4 v15, 0x0
- const/16 v16, -0x1
- const/16 v17, -0x1
- const/16 v18, 0x0
- const/16 v19, 0x0
- const/16 v20, 0x0
- :goto_0
- if-ge v6, v1, :cond_12
- invoke-virtual {v0, v6}, Lokhttp3/Headers;->name(I)Ljava/lang/String;
- move-result-object v2
- invoke-virtual {v0, v6}, Lokhttp3/Headers;->value(I)Ljava/lang/String;
- move-result-object v4
- const-string v3, "Cache-Control"
- invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
- move-result v3
- if-eqz v3, :cond_1
- if-eqz v8, :cond_0
- goto :goto_1
- :cond_0
- move-object v8, v4
- goto :goto_2
- :cond_1
- const-string v3, "Pragma"
- invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
- move-result v2
- if-eqz v2, :cond_11
- :goto_1
- const/4 v7, 0x0
- :goto_2
- const/4 v2, 0x0
- :goto_3
- invoke-virtual {v4}, Ljava/lang/String;->length()I
- move-result v3
- if-ge v2, v3, :cond_11
- const-string v3, "=,;"
- invoke-static {v4, v2, v3}, Lokhttp3/internal/http/HttpHeaders;->skipUntil(Ljava/lang/String;ILjava/lang/String;)I
- move-result v3
- invoke-virtual {v4, v2, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
- move-result-object v2
- invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;
- move-result-object v2
- invoke-virtual {v4}, Ljava/lang/String;->length()I
- move-result v5
- if-eq v3, v5, :cond_4
- invoke-virtual {v4, v3}, Ljava/lang/String;->charAt(I)C
- move-result v5
- const/16 v0, 0x2c
- if-eq v5, v0, :cond_4
- invoke-virtual {v4, v3}, Ljava/lang/String;->charAt(I)C
- move-result v0
- const/16 v5, 0x3b
- if-ne v0, v5, :cond_2
- goto :goto_4
- :cond_2
- add-int/lit8 v3, v3, 0x1
- invoke-static {v4, v3}, Lokhttp3/internal/http/HttpHeaders;->skipWhitespace(Ljava/lang/String;I)I
- move-result v0
- invoke-virtual {v4}, Ljava/lang/String;->length()I
- move-result v3
- if-ge v0, v3, :cond_3
- invoke-virtual {v4, v0}, Ljava/lang/String;->charAt(I)C
- move-result v3
- const/16 v5, 0x22
- if-ne v3, v5, :cond_3
- add-int/lit8 v0, v0, 0x1
- const-string v3, "\""
- invoke-static {v4, v0, v3}, Lokhttp3/internal/http/HttpHeaders;->skipUntil(Ljava/lang/String;ILjava/lang/String;)I
- move-result v3
- invoke-virtual {v4, v0, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
- move-result-object v0
- const/4 v5, 0x1
- add-int/2addr v3, v5
- goto :goto_5
- :cond_3
- const/4 v5, 0x1
- const-string v3, ",;"
- invoke-static {v4, v0, v3}, Lokhttp3/internal/http/HttpHeaders;->skipUntil(Ljava/lang/String;ILjava/lang/String;)I
- move-result v3
- invoke-virtual {v4, v0, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
- move-result-object v0
- invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;
- move-result-object v0
- goto :goto_5
- :cond_4
- :goto_4
- const/4 v5, 0x1
- add-int/lit8 v3, v3, 0x1
- const/4 v0, 0x0
- :goto_5
- const-string v5, "no-cache"
- invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
- move-result v5
- if-eqz v5, :cond_5
- const/4 v5, -0x1
- const/4 v9, 0x1
- goto/16 :goto_6
- :cond_5
- const-string v5, "no-store"
- invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
- move-result v5
- if-eqz v5, :cond_6
- const/4 v5, -0x1
- const/4 v10, 0x1
- goto/16 :goto_6
- :cond_6
- const-string v5, "max-age"
- invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
- move-result v5
- if-eqz v5, :cond_7
- const/4 v5, -0x1
- invoke-static {v0, v5}, Lokhttp3/internal/http/HttpHeaders;->parseSeconds(Ljava/lang/String;I)I
- move-result v0
- move v11, v0
- goto/16 :goto_6
- :cond_7
- const-string v5, "s-maxage"
- invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
- move-result v5
- if-eqz v5, :cond_8
- const/4 v5, -0x1
- invoke-static {v0, v5}, Lokhttp3/internal/http/HttpHeaders;->parseSeconds(Ljava/lang/String;I)I
- move-result v0
- move v12, v0
- goto/16 :goto_6
- :cond_8
- const-string v5, "private"
- invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
- move-result v5
- if-eqz v5, :cond_9
- const/4 v5, -0x1
- const/4 v13, 0x1
- goto :goto_6
- :cond_9
- const-string v5, "public"
- invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
- move-result v5
- if-eqz v5, :cond_a
- const/4 v5, -0x1
- const/4 v14, 0x1
- goto :goto_6
- :cond_a
- const-string v5, "must-revalidate"
- invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
- move-result v5
- if-eqz v5, :cond_b
- const/4 v5, -0x1
- const/4 v15, 0x1
- goto :goto_6
- :cond_b
- const-string v5, "max-stale"
- invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
- move-result v5
- if-eqz v5, :cond_c
- const v2, 0x7fffffff
- invoke-static {v0, v2}, Lokhttp3/internal/http/HttpHeaders;->parseSeconds(Ljava/lang/String;I)I
- move-result v0
- move/from16 v16, v0
- const/4 v5, -0x1
- goto :goto_6
- :cond_c
- const-string v5, "min-fresh"
- invoke-virtual {v5, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
- move-result v5
- if-eqz v5, :cond_d
- const/4 v5, -0x1
- invoke-static {v0, v5}, Lokhttp3/internal/http/HttpHeaders;->parseSeconds(Ljava/lang/String;I)I
- move-result v0
- move/from16 v17, v0
- goto :goto_6
- :cond_d
- const/4 v5, -0x1
- const-string v0, "only-if-cached"
- invoke-virtual {v0, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
- move-result v0
- if-eqz v0, :cond_e
- const/16 v18, 0x1
- goto :goto_6
- :cond_e
- const-string v0, "no-transform"
- invoke-virtual {v0, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
- move-result v0
- if-eqz v0, :cond_f
- const/16 v19, 0x1
- goto :goto_6
- :cond_f
- const-string v0, "immutable"
- invoke-virtual {v0, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
- move-result v0
- if-eqz v0, :cond_10
- const/16 v20, 0x1
- :cond_10
- :goto_6
- move-object/from16 v0, p0
- move v2, v3
- goto/16 :goto_3
- :cond_11
- const/4 v5, -0x1
- add-int/lit8 v6, v6, 0x1
- move-object/from16 v0, p0
- goto/16 :goto_0
- :cond_12
- if-nez v7, :cond_13
- const/16 v21, 0x0
- goto :goto_7
- :cond_13
- move-object/from16 v21, v8
- :goto_7
- new-instance v0, Lokhttp3/CacheControl;
- move-object v8, v0
- invoke-direct/range {v8 .. v21}, Lokhttp3/CacheControl;-><init>(ZZIIZZZIIZZZLjava/lang/String;)V
- return-object v0
- .end method
- # virtual methods
- .method public immutable()Z
- .locals 1
- iget-boolean v0, p0, Lokhttp3/CacheControl;->immutable:Z
- return v0
- .end method
- .method public isPrivate()Z
- .locals 1
- iget-boolean v0, p0, Lokhttp3/CacheControl;->isPrivate:Z
- return v0
- .end method
- .method public isPublic()Z
- .locals 1
- iget-boolean v0, p0, Lokhttp3/CacheControl;->isPublic:Z
- return v0
- .end method
- .method public maxAgeSeconds()I
- .locals 1
- iget v0, p0, Lokhttp3/CacheControl;->maxAgeSeconds:I
- return v0
- .end method
- .method public maxStaleSeconds()I
- .locals 1
- iget v0, p0, Lokhttp3/CacheControl;->maxStaleSeconds:I
- return v0
- .end method
- .method public minFreshSeconds()I
- .locals 1
- iget v0, p0, Lokhttp3/CacheControl;->minFreshSeconds:I
- return v0
- .end method
- .method public mustRevalidate()Z
- .locals 1
- iget-boolean v0, p0, Lokhttp3/CacheControl;->mustRevalidate:Z
- return v0
- .end method
- .method public noCache()Z
- .locals 1
- iget-boolean v0, p0, Lokhttp3/CacheControl;->noCache:Z
- return v0
- .end method
- .method public noStore()Z
- .locals 1
- iget-boolean v0, p0, Lokhttp3/CacheControl;->noStore:Z
- return v0
- .end method
- .method public noTransform()Z
- .locals 1
- iget-boolean v0, p0, Lokhttp3/CacheControl;->noTransform:Z
- return v0
- .end method
- .method public onlyIfCached()Z
- .locals 1
- iget-boolean v0, p0, Lokhttp3/CacheControl;->onlyIfCached:Z
- return v0
- .end method
- .method public sMaxAgeSeconds()I
- .locals 1
- iget v0, p0, Lokhttp3/CacheControl;->sMaxAgeSeconds:I
- return v0
- .end method
- .method public toString()Ljava/lang/String;
- .locals 1
- iget-object v0, p0, Lokhttp3/CacheControl;->headerValue:Ljava/lang/String;
- if-eqz v0, :cond_0
- goto :goto_0
- :cond_0
- invoke-direct {p0}, Lokhttp3/CacheControl;->headerValue()Ljava/lang/String;
- move-result-object v0
- iput-object v0, p0, Lokhttp3/CacheControl;->headerValue:Ljava/lang/String;
- :goto_0
- return-object v0
- .end method
|