236 lines
4.9 KiB
Smali
236 lines
4.9 KiB
Smali
.class public Lorg/apache/http/message/BasicTokenIterator;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lorg/apache/http/TokenIterator;
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final HTTP_SEPARATORS:Ljava/lang/String; = " ,;=()<>@:\\\"/[]?{}\t"
|
|
|
|
|
|
# instance fields
|
|
.field protected currentHeader:Ljava/lang/String;
|
|
|
|
.field protected currentToken:Ljava/lang/String;
|
|
|
|
.field protected final headerIt:Lorg/apache/http/HeaderIterator;
|
|
|
|
.field protected searchPos:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lorg/apache/http/HeaderIterator;)V
|
|
.locals 1
|
|
|
|
.line 6
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "Stub!"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public createToken(Ljava/lang/String;II)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
.line 12
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string p2, "Stub!"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public findNext(I)I
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lorg/apache/http/ParseException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 11
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "Stub!"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public findTokenEnd(I)I
|
|
.locals 1
|
|
|
|
.line 15
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "Stub!"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public findTokenSeparator(I)I
|
|
.locals 1
|
|
|
|
.line 14
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "Stub!"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public findTokenStart(I)I
|
|
.locals 1
|
|
|
|
.line 13
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "Stub!"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public hasNext()Z
|
|
.locals 2
|
|
|
|
.line 7
|
|
new-instance v0, Ljava/lang/RuntimeException;
|
|
|
|
const-string v1, "Stub!"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public isHttpSeparator(C)Z
|
|
.locals 1
|
|
|
|
.line 19
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "Stub!"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public isTokenChar(C)Z
|
|
.locals 1
|
|
|
|
.line 18
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "Stub!"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public isTokenSeparator(C)Z
|
|
.locals 1
|
|
|
|
.line 16
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "Stub!"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public isWhitespace(C)Z
|
|
.locals 1
|
|
|
|
.line 17
|
|
new-instance p1, Ljava/lang/RuntimeException;
|
|
|
|
const-string v0, "Stub!"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final next()Ljava/lang/Object;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/util/NoSuchElementException;,
|
|
Lorg/apache/http/ParseException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 9
|
|
new-instance v0, Ljava/lang/RuntimeException;
|
|
|
|
const-string v1, "Stub!"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public nextToken()Ljava/lang/String;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/util/NoSuchElementException;,
|
|
Lorg/apache/http/ParseException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 8
|
|
new-instance v0, Ljava/lang/RuntimeException;
|
|
|
|
const-string v1, "Stub!"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final remove()V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/UnsupportedOperationException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 10
|
|
new-instance v0, Ljava/lang/RuntimeException;
|
|
|
|
const-string v1, "Stub!"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|