mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
29 lines
760 B
Java
29 lines
760 B
Java
package io.sentry;
|
|
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class BaggageHeader {
|
|
public static final String BAGGAGE_HEADER = "baggage";
|
|
private final String value;
|
|
|
|
public String getName() {
|
|
return BAGGAGE_HEADER;
|
|
}
|
|
|
|
public String getValue() {
|
|
return this.value;
|
|
}
|
|
|
|
public static BaggageHeader fromBaggageAndOutgoingHeader(Baggage baggage, List<String> list) {
|
|
String headerString = baggage.toHeaderString(Baggage.fromHeader(list, true, baggage.logger).getThirdPartyHeader());
|
|
if (headerString.isEmpty()) {
|
|
return null;
|
|
}
|
|
return new BaggageHeader(headerString);
|
|
}
|
|
|
|
public BaggageHeader(String str) {
|
|
this.value = str;
|
|
}
|
|
}
|