mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-28 01:52:26 -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;
|
|
}
|
|
}
|