tmap/smali_classes5/org/apache/http/impl/cookie/BasicCommentHandler.smali
2022-06-10 21:38:30 +09:00

48 lines
1.1 KiB
Smali

.class public Lorg/apache/http/impl/cookie/BasicCommentHandler;
.super Lorg/apache/http/impl/cookie/AbstractCookieAttributeHandler;
.source "BasicCommentHandler.java"
# annotations
.annotation build Lorg/apache/http/annotation/Immutable;
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Lorg/apache/http/impl/cookie/AbstractCookieAttributeHandler;-><init>()V
return-void
.end method
# virtual methods
.method public parse(Lorg/apache/http/cookie/SetCookie;Ljava/lang/String;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Lorg/apache/http/cookie/MalformedCookieException;
}
.end annotation
if-eqz p1, :cond_0
.line 1
invoke-interface {p1, p2}, Lorg/apache/http/cookie/SetCookie;->setComment(Ljava/lang/String;)V
return-void
.line 2
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Cookie may not be null"
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method