index
int64
repo_id
string
file_path
string
content
string
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/BlockedSetCookieWithReason.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** A cookie which was not stored from a response with the corresponding reason. */ @Experimental public class BlockedSetCookieWithReason { private List<SetCookieBlockedReason> blockedReasons; private String cookieLine; @Optional private Cookie cookie; /** The reason(s) this cookie was blocked. */ public List<SetCookieBlockedReason> getBlockedReasons() { return blockedReasons; } /** The reason(s) this cookie was blocked. */ public void setBlockedReasons(List<SetCookieBlockedReason> blockedReasons) { this.blockedReasons = blockedReasons; } /** * The string representing this individual cookie as it would appear in the header. This is not * the entire "cookie" or "set-cookie" header which could have multiple cookies. */ public String getCookieLine() { return cookieLine; } /** * The string representing this individual cookie as it would appear in the header. This is not * the entire "cookie" or "set-cookie" header which could have multiple cookies. */ public void setCookieLine(String cookieLine) { this.cookieLine = cookieLine; } /** * The cookie object which represents the cookie which was not stored. It is optional because * sometimes complete cookie information is not available, such as in the case of parsing errors. */ public Cookie getCookie() { return cookie; } /** * The cookie object which represents the cookie which was not stored. It is optional because * sometimes complete cookie information is not available, such as in the case of parsing errors. */ public void setCookie(Cookie cookie) { this.cookie = cookie; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/CachedResource.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Information about the cached resource. */ public class CachedResource { private String url; private ResourceType type; @Optional private Response response; private Double bodySize; /** Resource URL. This is the url of the original network request. */ public String getUrl() { return url; } /** Resource URL. This is the url of the original network request. */ public void setUrl(String url) { this.url = url; } /** Type of this resource. */ public ResourceType getType() { return type; } /** Type of this resource. */ public void setType(ResourceType type) { this.type = type; } /** Cached response data. */ public Response getResponse() { return response; } /** Cached response data. */ public void setResponse(Response response) { this.response = response; } /** Cached response body size. */ public Double getBodySize() { return bodySize; } /** Cached response body size. */ public void setBodySize(Double bodySize) { this.bodySize = bodySize; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/CertificateTransparencyCompliance.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Whether the request complied with Certificate Transparency policy. */ public enum CertificateTransparencyCompliance { @JsonProperty("unknown") UNKNOWN, @JsonProperty("not-compliant") NOT_COMPLIANT, @JsonProperty("compliant") COMPLIANT }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/ClientSecurityState.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; @Experimental public class ClientSecurityState { private Boolean initiatorIsSecureContext; private IPAddressSpace initiatorIPAddressSpace; private PrivateNetworkRequestPolicy privateNetworkRequestPolicy; public Boolean getInitiatorIsSecureContext() { return initiatorIsSecureContext; } public void setInitiatorIsSecureContext(Boolean initiatorIsSecureContext) { this.initiatorIsSecureContext = initiatorIsSecureContext; } public IPAddressSpace getInitiatorIPAddressSpace() { return initiatorIPAddressSpace; } public void setInitiatorIPAddressSpace(IPAddressSpace initiatorIPAddressSpace) { this.initiatorIPAddressSpace = initiatorIPAddressSpace; } public PrivateNetworkRequestPolicy getPrivateNetworkRequestPolicy() { return privateNetworkRequestPolicy; } public void setPrivateNetworkRequestPolicy( PrivateNetworkRequestPolicy privateNetworkRequestPolicy) { this.privateNetworkRequestPolicy = privateNetworkRequestPolicy; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/ConnectTiming.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; @Experimental public class ConnectTiming { private Double requestTime; /** * Timing's requestTime is a baseline in seconds, while the other numbers are ticks in * milliseconds relatively to this requestTime. Matches ResourceTiming's requestTime for the same * request (but not for redirected requests). */ public Double getRequestTime() { return requestTime; } /** * Timing's requestTime is a baseline in seconds, while the other numbers are ticks in * milliseconds relatively to this requestTime. Matches ResourceTiming's requestTime for the same * request (but not for redirected requests). */ public void setRequestTime(Double requestTime) { this.requestTime = requestTime; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/ConnectionType.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** The underlying connection technology that the browser is supposedly using. */ public enum ConnectionType { @JsonProperty("none") NONE, @JsonProperty("cellular2g") CELLULAR_2G, @JsonProperty("cellular3g") CELLULAR_3G, @JsonProperty("cellular4g") CELLULAR_4G, @JsonProperty("bluetooth") BLUETOOTH, @JsonProperty("ethernet") ETHERNET, @JsonProperty("wifi") WIFI, @JsonProperty("wimax") WIMAX, @JsonProperty("other") OTHER }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/ContentEncoding.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** List of content encodings supported by the backend. */ public enum ContentEncoding { @JsonProperty("deflate") DEFLATE, @JsonProperty("gzip") GZIP, @JsonProperty("br") BR, @JsonProperty("zstd") ZSTD }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/ContentSecurityPolicySource.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum ContentSecurityPolicySource { @JsonProperty("HTTP") HTTP, @JsonProperty("Meta") META }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/ContentSecurityPolicyStatus.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; @Experimental public class ContentSecurityPolicyStatus { private String effectiveDirectives; private Boolean isEnforced; private ContentSecurityPolicySource source; public String getEffectiveDirectives() { return effectiveDirectives; } public void setEffectiveDirectives(String effectiveDirectives) { this.effectiveDirectives = effectiveDirectives; } public Boolean getIsEnforced() { return isEnforced; } public void setIsEnforced(Boolean isEnforced) { this.isEnforced = isEnforced; } public ContentSecurityPolicySource getSource() { return source; } public void setSource(ContentSecurityPolicySource source) { this.source = source; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/Cookie.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Cookie object */ public class Cookie { private String name; private String value; private String domain; private String path; private Double expires; private Integer size; private Boolean httpOnly; private Boolean secure; private Boolean session; @Optional private CookieSameSite sameSite; @Experimental private CookiePriority priority; @Experimental private Boolean sameParty; @Experimental private CookieSourceScheme sourceScheme; @Experimental private Integer sourcePort; // vincent: not supported in 2024/11/23 // Cannot deserialize value of type `java.lang.String` from Object value (token `JsonToken.START_OBJECT`) // (through reference chain: java.util.ArrayList[13]->com.github.kklisura.cdt.protocol.v2023.types.network.Cookie["partitionKey"]) // @Experimental @Optional private String partitionKey; // // @Experimental @Optional private Boolean partitionKeyOpaque; /** Cookie name. */ public String getName() { return name; } /** Cookie name. */ public void setName(String name) { this.name = name; } /** Cookie value. */ public String getValue() { return value; } /** Cookie value. */ public void setValue(String value) { this.value = value; } /** Cookie domain. */ public String getDomain() { return domain; } /** Cookie domain. */ public void setDomain(String domain) { this.domain = domain; } /** Cookie path. */ public String getPath() { return path; } /** Cookie path. */ public void setPath(String path) { this.path = path; } /** Cookie expiration date as the number of seconds since the UNIX epoch. */ public Double getExpires() { return expires; } /** Cookie expiration date as the number of seconds since the UNIX epoch. */ public void setExpires(Double expires) { this.expires = expires; } /** Cookie size. */ public Integer getSize() { return size; } /** Cookie size. */ public void setSize(Integer size) { this.size = size; } /** True if cookie is http-only. */ public Boolean getHttpOnly() { return httpOnly; } /** True if cookie is http-only. */ public void setHttpOnly(Boolean httpOnly) { this.httpOnly = httpOnly; } /** True if cookie is secure. */ public Boolean getSecure() { return secure; } /** True if cookie is secure. */ public void setSecure(Boolean secure) { this.secure = secure; } /** True in case of session cookie. */ public Boolean getSession() { return session; } /** True in case of session cookie. */ public void setSession(Boolean session) { this.session = session; } /** Cookie SameSite type. */ public CookieSameSite getSameSite() { return sameSite; } /** Cookie SameSite type. */ public void setSameSite(CookieSameSite sameSite) { this.sameSite = sameSite; } /** Cookie Priority */ public CookiePriority getPriority() { return priority; } /** Cookie Priority */ public void setPriority(CookiePriority priority) { this.priority = priority; } /** True if cookie is SameParty. */ public Boolean getSameParty() { return sameParty; } /** True if cookie is SameParty. */ public void setSameParty(Boolean sameParty) { this.sameParty = sameParty; } /** Cookie source scheme type. */ public CookieSourceScheme getSourceScheme() { return sourceScheme; } /** Cookie source scheme type. */ public void setSourceScheme(CookieSourceScheme sourceScheme) { this.sourceScheme = sourceScheme; } /** * Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port. An * unspecified port value allows protocol clients to emulate legacy cookie scope for the port. * This is a temporary ability and it will be removed in the future. */ public Integer getSourcePort() { return sourcePort; } /** * Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port. An * unspecified port value allows protocol clients to emulate legacy cookie scope for the port. * This is a temporary ability and it will be removed in the future. */ public void setSourcePort(Integer sourcePort) { this.sourcePort = sourcePort; } // /** // * Cookie partition key. The site of the top-level URL the browser was visiting at the start of // * the request to the endpoint that set the cookie. // */ // public String getPartitionKey() { // return partitionKey; // } // // /** // * Cookie partition key. The site of the top-level URL the browser was visiting at the start of // * the request to the endpoint that set the cookie. // */ // public void setPartitionKey(String partitionKey) { // this.partitionKey = partitionKey; // } // // /** True if cookie partition key is opaque. */ // public Boolean getPartitionKeyOpaque() { // return partitionKeyOpaque; // } // // /** True if cookie partition key is opaque. */ // public void setPartitionKeyOpaque(Boolean partitionKeyOpaque) { // this.partitionKeyOpaque = partitionKeyOpaque; // } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/CookieBlockedReason.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Types of reasons why a cookie may not be sent with a request. */ public enum CookieBlockedReason { @JsonProperty("SecureOnly") SECURE_ONLY, @JsonProperty("NotOnPath") NOT_ON_PATH, @JsonProperty("DomainMismatch") DOMAIN_MISMATCH, @JsonProperty("SameSiteStrict") SAME_SITE_STRICT, @JsonProperty("SameSiteLax") SAME_SITE_LAX, @JsonProperty("SameSiteUnspecifiedTreatedAsLax") SAME_SITE_UNSPECIFIED_TREATED_AS_LAX, @JsonProperty("SameSiteNoneInsecure") SAME_SITE_NONE_INSECURE, @JsonProperty("UserPreferences") USER_PREFERENCES, @JsonProperty("ThirdPartyBlockedInFirstPartySet") THIRD_PARTY_BLOCKED_IN_FIRST_PARTY_SET, @JsonProperty("UnknownError") UNKNOWN_ERROR, @JsonProperty("SchemefulSameSiteStrict") SCHEMEFUL_SAME_SITE_STRICT, @JsonProperty("SchemefulSameSiteLax") SCHEMEFUL_SAME_SITE_LAX, @JsonProperty("SchemefulSameSiteUnspecifiedTreatedAsLax") SCHEMEFUL_SAME_SITE_UNSPECIFIED_TREATED_AS_LAX, @JsonProperty("SamePartyFromCrossPartyContext") SAME_PARTY_FROM_CROSS_PARTY_CONTEXT, @JsonProperty("NameValuePairExceedsMaxSize") NAME_VALUE_PAIR_EXCEEDS_MAX_SIZE }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/CookieParam.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Cookie parameter object */ public class CookieParam { private String name; private String value; @Optional private String url; @Optional private String domain; @Optional private String path; @Optional private Boolean secure; @Optional private Boolean httpOnly; @Optional private CookieSameSite sameSite; @Optional private Double expires; @Experimental @Optional private CookiePriority priority; @Experimental @Optional private Boolean sameParty; @Experimental @Optional private CookieSourceScheme sourceScheme; @Experimental @Optional private Integer sourcePort; @Experimental @Optional private String partitionKey; /** Cookie name. */ public String getName() { return name; } /** Cookie name. */ public void setName(String name) { this.name = name; } /** Cookie value. */ public String getValue() { return value; } /** Cookie value. */ public void setValue(String value) { this.value = value; } /** * The request-URI to associate with the setting of the cookie. This value can affect the default * domain, path, source port, and source scheme values of the created cookie. */ public String getUrl() { return url; } /** * The request-URI to associate with the setting of the cookie. This value can affect the default * domain, path, source port, and source scheme values of the created cookie. */ public void setUrl(String url) { this.url = url; } /** Cookie domain. */ public String getDomain() { return domain; } /** Cookie domain. */ public void setDomain(String domain) { this.domain = domain; } /** Cookie path. */ public String getPath() { return path; } /** Cookie path. */ public void setPath(String path) { this.path = path; } /** True if cookie is secure. */ public Boolean getSecure() { return secure; } /** True if cookie is secure. */ public void setSecure(Boolean secure) { this.secure = secure; } /** True if cookie is http-only. */ public Boolean getHttpOnly() { return httpOnly; } /** True if cookie is http-only. */ public void setHttpOnly(Boolean httpOnly) { this.httpOnly = httpOnly; } /** Cookie SameSite type. */ public CookieSameSite getSameSite() { return sameSite; } /** Cookie SameSite type. */ public void setSameSite(CookieSameSite sameSite) { this.sameSite = sameSite; } /** Cookie expiration date, session cookie if not set */ public Double getExpires() { return expires; } /** Cookie expiration date, session cookie if not set */ public void setExpires(Double expires) { this.expires = expires; } /** Cookie Priority. */ public CookiePriority getPriority() { return priority; } /** Cookie Priority. */ public void setPriority(CookiePriority priority) { this.priority = priority; } /** True if cookie is SameParty. */ public Boolean getSameParty() { return sameParty; } /** True if cookie is SameParty. */ public void setSameParty(Boolean sameParty) { this.sameParty = sameParty; } /** Cookie source scheme type. */ public CookieSourceScheme getSourceScheme() { return sourceScheme; } /** Cookie source scheme type. */ public void setSourceScheme(CookieSourceScheme sourceScheme) { this.sourceScheme = sourceScheme; } /** * Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port. An * unspecified port value allows protocol clients to emulate legacy cookie scope for the port. * This is a temporary ability and it will be removed in the future. */ public Integer getSourcePort() { return sourcePort; } /** * Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port. An * unspecified port value allows protocol clients to emulate legacy cookie scope for the port. * This is a temporary ability and it will be removed in the future. */ public void setSourcePort(Integer sourcePort) { this.sourcePort = sourcePort; } /** * Cookie partition key. The site of the top-level URL the browser was visiting at the start of * the request to the endpoint that set the cookie. If not set, the cookie will be set as not * partitioned. */ public String getPartitionKey() { return partitionKey; } /** * Cookie partition key. The site of the top-level URL the browser was visiting at the start of * the request to the endpoint that set the cookie. If not set, the cookie will be set as not * partitioned. */ public void setPartitionKey(String partitionKey) { this.partitionKey = partitionKey; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/CookiePriority.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * Represents the cookie's 'Priority' status: * https://tools.ietf.org/html/draft-west-cookie-priority-00 */ public enum CookiePriority { @JsonProperty("Low") LOW, @JsonProperty("Medium") MEDIUM, @JsonProperty("High") HIGH }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/CookieSameSite.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * Represents the cookie's 'SameSite' status: * https://tools.ietf.org/html/draft-west-first-party-cookies */ public enum CookieSameSite { @JsonProperty("Strict") STRICT, @JsonProperty("Lax") LAX, @JsonProperty("None") NONE }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/CookieSourceScheme.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * Represents the source scheme of the origin that originally set the cookie. A value of "Unset" * allows protocol clients to emulate legacy cookie scope for the scheme. This is a temporary * ability and it will be removed in the future. */ public enum CookieSourceScheme { @JsonProperty("Unset") UNSET, @JsonProperty("NonSecure") NON_SECURE, @JsonProperty("Secure") SECURE }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/CorsError.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** The reason why request was blocked. */ public enum CorsError { @JsonProperty("DisallowedByMode") DISALLOWED_BY_MODE, @JsonProperty("InvalidResponse") INVALID_RESPONSE, @JsonProperty("WildcardOriginNotAllowed") WILDCARD_ORIGIN_NOT_ALLOWED, @JsonProperty("MissingAllowOriginHeader") MISSING_ALLOW_ORIGIN_HEADER, @JsonProperty("MultipleAllowOriginValues") MULTIPLE_ALLOW_ORIGIN_VALUES, @JsonProperty("InvalidAllowOriginValue") INVALID_ALLOW_ORIGIN_VALUE, @JsonProperty("AllowOriginMismatch") ALLOW_ORIGIN_MISMATCH, @JsonProperty("InvalidAllowCredentials") INVALID_ALLOW_CREDENTIALS, @JsonProperty("CorsDisabledScheme") CORS_DISABLED_SCHEME, @JsonProperty("PreflightInvalidStatus") PREFLIGHT_INVALID_STATUS, @JsonProperty("PreflightDisallowedRedirect") PREFLIGHT_DISALLOWED_REDIRECT, @JsonProperty("PreflightWildcardOriginNotAllowed") PREFLIGHT_WILDCARD_ORIGIN_NOT_ALLOWED, @JsonProperty("PreflightMissingAllowOriginHeader") PREFLIGHT_MISSING_ALLOW_ORIGIN_HEADER, @JsonProperty("PreflightMultipleAllowOriginValues") PREFLIGHT_MULTIPLE_ALLOW_ORIGIN_VALUES, @JsonProperty("PreflightInvalidAllowOriginValue") PREFLIGHT_INVALID_ALLOW_ORIGIN_VALUE, @JsonProperty("PreflightAllowOriginMismatch") PREFLIGHT_ALLOW_ORIGIN_MISMATCH, @JsonProperty("PreflightInvalidAllowCredentials") PREFLIGHT_INVALID_ALLOW_CREDENTIALS, @JsonProperty("PreflightMissingAllowExternal") PREFLIGHT_MISSING_ALLOW_EXTERNAL, @JsonProperty("PreflightInvalidAllowExternal") PREFLIGHT_INVALID_ALLOW_EXTERNAL, @JsonProperty("PreflightMissingAllowPrivateNetwork") PREFLIGHT_MISSING_ALLOW_PRIVATE_NETWORK, @JsonProperty("PreflightInvalidAllowPrivateNetwork") PREFLIGHT_INVALID_ALLOW_PRIVATE_NETWORK, @JsonProperty("InvalidAllowMethodsPreflightResponse") INVALID_ALLOW_METHODS_PREFLIGHT_RESPONSE, @JsonProperty("InvalidAllowHeadersPreflightResponse") INVALID_ALLOW_HEADERS_PREFLIGHT_RESPONSE, @JsonProperty("MethodDisallowedByPreflightResponse") METHOD_DISALLOWED_BY_PREFLIGHT_RESPONSE, @JsonProperty("HeaderDisallowedByPreflightResponse") HEADER_DISALLOWED_BY_PREFLIGHT_RESPONSE, @JsonProperty("RedirectContainsCredentials") REDIRECT_CONTAINS_CREDENTIALS, @JsonProperty("InsecurePrivateNetwork") INSECURE_PRIVATE_NETWORK, @JsonProperty("InvalidPrivateNetworkAccess") INVALID_PRIVATE_NETWORK_ACCESS, @JsonProperty("UnexpectedPrivateNetworkAccess") UNEXPECTED_PRIVATE_NETWORK_ACCESS, @JsonProperty("NoCorsRedirectModeNotFollow") NO_CORS_REDIRECT_MODE_NOT_FOLLOW, @JsonProperty("PreflightMissingPrivateNetworkAccessId") PREFLIGHT_MISSING_PRIVATE_NETWORK_ACCESS_ID, @JsonProperty("PreflightMissingPrivateNetworkAccessName") PREFLIGHT_MISSING_PRIVATE_NETWORK_ACCESS_NAME, @JsonProperty("PrivateNetworkAccessPermissionUnavailable") PRIVATE_NETWORK_ACCESS_PERMISSION_UNAVAILABLE, @JsonProperty("PrivateNetworkAccessPermissionDenied") PRIVATE_NETWORK_ACCESS_PERMISSION_DENIED }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/CorsErrorStatus.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ public class CorsErrorStatus { private CorsError corsError; private String failedParameter; public CorsError getCorsError() { return corsError; } public void setCorsError(CorsError corsError) { this.corsError = corsError; } public String getFailedParameter() { return failedParameter; } public void setFailedParameter(String failedParameter) { this.failedParameter = failedParameter; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/CrossOriginEmbedderPolicyStatus.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; @Experimental public class CrossOriginEmbedderPolicyStatus { private CrossOriginEmbedderPolicyValue value; private CrossOriginEmbedderPolicyValue reportOnlyValue; @Optional private String reportingEndpoint; @Optional private String reportOnlyReportingEndpoint; public CrossOriginEmbedderPolicyValue getValue() { return value; } public void setValue(CrossOriginEmbedderPolicyValue value) { this.value = value; } public CrossOriginEmbedderPolicyValue getReportOnlyValue() { return reportOnlyValue; } public void setReportOnlyValue(CrossOriginEmbedderPolicyValue reportOnlyValue) { this.reportOnlyValue = reportOnlyValue; } public String getReportingEndpoint() { return reportingEndpoint; } public void setReportingEndpoint(String reportingEndpoint) { this.reportingEndpoint = reportingEndpoint; } public String getReportOnlyReportingEndpoint() { return reportOnlyReportingEndpoint; } public void setReportOnlyReportingEndpoint(String reportOnlyReportingEndpoint) { this.reportOnlyReportingEndpoint = reportOnlyReportingEndpoint; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/CrossOriginEmbedderPolicyValue.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum CrossOriginEmbedderPolicyValue { @JsonProperty("None") NONE, @JsonProperty("Credentialless") CREDENTIALLESS, @JsonProperty("RequireCorp") REQUIRE_CORP }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/CrossOriginOpenerPolicyStatus.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; @Experimental public class CrossOriginOpenerPolicyStatus { private CrossOriginOpenerPolicyValue value; private CrossOriginOpenerPolicyValue reportOnlyValue; @Optional private String reportingEndpoint; @Optional private String reportOnlyReportingEndpoint; public CrossOriginOpenerPolicyValue getValue() { return value; } public void setValue(CrossOriginOpenerPolicyValue value) { this.value = value; } public CrossOriginOpenerPolicyValue getReportOnlyValue() { return reportOnlyValue; } public void setReportOnlyValue(CrossOriginOpenerPolicyValue reportOnlyValue) { this.reportOnlyValue = reportOnlyValue; } public String getReportingEndpoint() { return reportingEndpoint; } public void setReportingEndpoint(String reportingEndpoint) { this.reportingEndpoint = reportingEndpoint; } public String getReportOnlyReportingEndpoint() { return reportOnlyReportingEndpoint; } public void setReportOnlyReportingEndpoint(String reportOnlyReportingEndpoint) { this.reportOnlyReportingEndpoint = reportOnlyReportingEndpoint; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/CrossOriginOpenerPolicyValue.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum CrossOriginOpenerPolicyValue { @JsonProperty("SameOrigin") SAME_ORIGIN, @JsonProperty("SameOriginAllowPopups") SAME_ORIGIN_ALLOW_POPUPS, @JsonProperty("RestrictProperties") RESTRICT_PROPERTIES, @JsonProperty("UnsafeNone") UNSAFE_NONE, @JsonProperty("SameOriginPlusCoep") SAME_ORIGIN_PLUS_COEP, @JsonProperty("RestrictPropertiesPlusCoep") RESTRICT_PROPERTIES_PLUS_COEP }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/ErrorReason.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Network level fetch failure reason. */ public enum ErrorReason { @JsonProperty("Failed") FAILED, @JsonProperty("Aborted") ABORTED, @JsonProperty("TimedOut") TIMED_OUT, @JsonProperty("AccessDenied") ACCESS_DENIED, @JsonProperty("ConnectionClosed") CONNECTION_CLOSED, @JsonProperty("ConnectionReset") CONNECTION_RESET, @JsonProperty("ConnectionRefused") CONNECTION_REFUSED, @JsonProperty("ConnectionAborted") CONNECTION_ABORTED, @JsonProperty("ConnectionFailed") CONNECTION_FAILED, @JsonProperty("NameNotResolved") NAME_NOT_RESOLVED, @JsonProperty("InternetDisconnected") INTERNET_DISCONNECTED, @JsonProperty("AddressUnreachable") ADDRESS_UNREACHABLE, @JsonProperty("BlockedByClient") BLOCKED_BY_CLIENT, @JsonProperty("BlockedByResponse") BLOCKED_BY_RESPONSE }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/IPAddressSpace.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum IPAddressSpace { @JsonProperty("Local") LOCAL, @JsonProperty("Private") PRIVATE, @JsonProperty("Public") PUBLIC, @JsonProperty("Unknown") UNKNOWN }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/Initiator.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.runtime.StackTrace; /** Information about the request initiator. */ public class Initiator { private InitiatorType type; @Optional private StackTrace stack; @Optional private String url; @Optional private Double lineNumber; @Optional private Double columnNumber; @Optional private String requestId; /** Type of this initiator. */ public InitiatorType getType() { return type; } /** Type of this initiator. */ public void setType(InitiatorType type) { this.type = type; } /** Initiator JavaScript stack trace, set for Script only. */ public StackTrace getStack() { return stack; } /** Initiator JavaScript stack trace, set for Script only. */ public void setStack(StackTrace stack) { this.stack = stack; } /** * Initiator URL, set for Parser type or for Script type (when script is importing module) or for * SignedExchange type. */ public String getUrl() { return url; } /** * Initiator URL, set for Parser type or for Script type (when script is importing module) or for * SignedExchange type. */ public void setUrl(String url) { this.url = url; } /** * Initiator line number, set for Parser type or for Script type (when script is importing module) * (0-based). */ public Double getLineNumber() { return lineNumber; } /** * Initiator line number, set for Parser type or for Script type (when script is importing module) * (0-based). */ public void setLineNumber(Double lineNumber) { this.lineNumber = lineNumber; } /** * Initiator column number, set for Parser type or for Script type (when script is importing * module) (0-based). */ public Double getColumnNumber() { return columnNumber; } /** * Initiator column number, set for Parser type or for Script type (when script is importing * module) (0-based). */ public void setColumnNumber(Double columnNumber) { this.columnNumber = columnNumber; } /** Set if another request triggered this request (e.g. preflight). */ public String getRequestId() { return requestId; } /** Set if another request triggered this request (e.g. preflight). */ public void setRequestId(String requestId) { this.requestId = requestId; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/InitiatorType.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Type of this initiator. */ public enum InitiatorType { @JsonProperty("parser") PARSER, @JsonProperty("script") SCRIPT, @JsonProperty("preload") PRELOAD, @JsonProperty("SignedExchange") SIGNED_EXCHANGE, @JsonProperty("preflight") PREFLIGHT, @JsonProperty("other") OTHER }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/InterceptionStage.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * Stages of the interception to begin intercepting. Request will intercept before the request is * sent. Response will intercept after the response is received. */ public enum InterceptionStage { @JsonProperty("Request") REQUEST, @JsonProperty("HeadersReceived") HEADERS_RECEIVED }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/LoadNetworkResourceOptions.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; /** An options object that may be extended later to better support CORS, CORB and streaming. */ @Experimental public class LoadNetworkResourceOptions { private Boolean disableCache; private Boolean includeCredentials; public Boolean getDisableCache() { return disableCache; } public void setDisableCache(Boolean disableCache) { this.disableCache = disableCache; } public Boolean getIncludeCredentials() { return includeCredentials; } public void setIncludeCredentials(Boolean includeCredentials) { this.includeCredentials = includeCredentials; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/LoadNetworkResourcePageResult.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.Map; /** An object providing the result of a network resource load. */ @Experimental public class LoadNetworkResourcePageResult { private Boolean success; @Optional private Double netError; @Optional private String netErrorName; @Optional private Double httpStatusCode; @Optional private String stream; @Optional private Map<String, Object> headers; public Boolean getSuccess() { return success; } public void setSuccess(Boolean success) { this.success = success; } /** Optional values used for error reporting. */ public Double getNetError() { return netError; } /** Optional values used for error reporting. */ public void setNetError(Double netError) { this.netError = netError; } public String getNetErrorName() { return netErrorName; } public void setNetErrorName(String netErrorName) { this.netErrorName = netErrorName; } public Double getHttpStatusCode() { return httpStatusCode; } public void setHttpStatusCode(Double httpStatusCode) { this.httpStatusCode = httpStatusCode; } /** If successful, one of the following two fields holds the result. */ public String getStream() { return stream; } /** If successful, one of the following two fields holds the result. */ public void setStream(String stream) { this.stream = stream; } /** Response headers. */ public Map<String, Object> getHeaders() { return headers; } /** Response headers. */ public void setHeaders(Map<String, Object> headers) { this.headers = headers; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/PostDataEntry.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Post data entry for HTTP request */ public class PostDataEntry { @Optional private String bytes; public String getBytes() { return bytes; } public void setBytes(String bytes) { this.bytes = bytes; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/PrivateNetworkRequestPolicy.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum PrivateNetworkRequestPolicy { @JsonProperty("Allow") ALLOW, @JsonProperty("BlockFromInsecureToMorePrivate") BLOCK_FROM_INSECURE_TO_MORE_PRIVATE, @JsonProperty("WarnFromInsecureToMorePrivate") WARN_FROM_INSECURE_TO_MORE_PRIVATE, @JsonProperty("PreflightBlock") PREFLIGHT_BLOCK, @JsonProperty("PreflightWarn") PREFLIGHT_WARN }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/ReportStatus.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** The status of a Reporting API report. */ public enum ReportStatus { @JsonProperty("Queued") QUEUED, @JsonProperty("Pending") PENDING, @JsonProperty("MarkedForRemoval") MARKED_FOR_REMOVAL, @JsonProperty("Success") SUCCESS }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/ReportingApiEndpoint.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; @Experimental public class ReportingApiEndpoint { private String url; private String groupName; /** The URL of the endpoint to which reports may be delivered. */ public String getUrl() { return url; } /** The URL of the endpoint to which reports may be delivered. */ public void setUrl(String url) { this.url = url; } /** Name of the endpoint group. */ public String getGroupName() { return groupName; } /** Name of the endpoint group. */ public void setGroupName(String groupName) { this.groupName = groupName; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/ReportingApiReport.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import java.util.Map; /** An object representing a report generated by the Reporting API. */ @Experimental public class ReportingApiReport { private String id; private String initiatorUrl; private String destination; private String type; private Double timestamp; private Integer depth; private Integer completedAttempts; private Map<String, Object> body; private ReportStatus status; public String getId() { return id; } public void setId(String id) { this.id = id; } /** The URL of the document that triggered the report. */ public String getInitiatorUrl() { return initiatorUrl; } /** The URL of the document that triggered the report. */ public void setInitiatorUrl(String initiatorUrl) { this.initiatorUrl = initiatorUrl; } /** The name of the endpoint group that should be used to deliver the report. */ public String getDestination() { return destination; } /** The name of the endpoint group that should be used to deliver the report. */ public void setDestination(String destination) { this.destination = destination; } /** The type of the report (specifies the set of data that is contained in the report body). */ public String getType() { return type; } /** The type of the report (specifies the set of data that is contained in the report body). */ public void setType(String type) { this.type = type; } /** When the report was generated. */ public Double getTimestamp() { return timestamp; } /** When the report was generated. */ public void setTimestamp(Double timestamp) { this.timestamp = timestamp; } /** How many uploads deep the related request was. */ public Integer getDepth() { return depth; } /** How many uploads deep the related request was. */ public void setDepth(Integer depth) { this.depth = depth; } /** The number of delivery attempts made so far, not including an active attempt. */ public Integer getCompletedAttempts() { return completedAttempts; } /** The number of delivery attempts made so far, not including an active attempt. */ public void setCompletedAttempts(Integer completedAttempts) { this.completedAttempts = completedAttempts; } public Map<String, Object> getBody() { return body; } public void setBody(Map<String, Object> body) { this.body = body; } public ReportStatus getStatus() { return status; } public void setStatus(ReportStatus status) { this.status = status; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/Request.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.security.MixedContentType; import java.util.List; import java.util.Map; /** HTTP request data. */ public class Request { private String url; @Optional private String urlFragment; private String method; private Map<String, Object> headers; @Optional private String postData; @Optional private Boolean hasPostData; @Experimental @Optional private List<PostDataEntry> postDataEntries; @Optional private MixedContentType mixedContentType; private ResourcePriority initialPriority; private RequestReferrerPolicy referrerPolicy; @Optional private Boolean isLinkPreload; @Experimental @Optional private TrustTokenParams trustTokenParams; @Experimental @Optional private Boolean isSameSite; /** Request URL (without fragment). */ public String getUrl() { return url; } /** Request URL (without fragment). */ public void setUrl(String url) { this.url = url; } /** Fragment of the requested URL starting with hash, if present. */ public String getUrlFragment() { return urlFragment; } /** Fragment of the requested URL starting with hash, if present. */ public void setUrlFragment(String urlFragment) { this.urlFragment = urlFragment; } /** HTTP request method. */ public String getMethod() { return method; } /** HTTP request method. */ public void setMethod(String method) { this.method = method; } /** HTTP request headers. */ public Map<String, Object> getHeaders() { return headers; } /** HTTP request headers. */ public void setHeaders(Map<String, Object> headers) { this.headers = headers; } /** HTTP POST request data. */ public String getPostData() { return postData; } /** HTTP POST request data. */ public void setPostData(String postData) { this.postData = postData; } /** * True when the request has POST data. Note that postData might still be omitted when this flag * is true when the data is too long. */ public Boolean getHasPostData() { return hasPostData; } /** * True when the request has POST data. Note that postData might still be omitted when this flag * is true when the data is too long. */ public void setHasPostData(Boolean hasPostData) { this.hasPostData = hasPostData; } /** Request body elements. This will be converted from base64 to binary */ public List<PostDataEntry> getPostDataEntries() { return postDataEntries; } /** Request body elements. This will be converted from base64 to binary */ public void setPostDataEntries(List<PostDataEntry> postDataEntries) { this.postDataEntries = postDataEntries; } /** The mixed content type of the request. */ public MixedContentType getMixedContentType() { return mixedContentType; } /** The mixed content type of the request. */ public void setMixedContentType(MixedContentType mixedContentType) { this.mixedContentType = mixedContentType; } /** Priority of the resource request at the time request is sent. */ public ResourcePriority getInitialPriority() { return initialPriority; } /** Priority of the resource request at the time request is sent. */ public void setInitialPriority(ResourcePriority initialPriority) { this.initialPriority = initialPriority; } /** The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/ */ public RequestReferrerPolicy getReferrerPolicy() { return referrerPolicy; } /** The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/ */ public void setReferrerPolicy(RequestReferrerPolicy referrerPolicy) { this.referrerPolicy = referrerPolicy; } /** Whether is loaded via link preload. */ public Boolean getIsLinkPreload() { return isLinkPreload; } /** Whether is loaded via link preload. */ public void setIsLinkPreload(Boolean isLinkPreload) { this.isLinkPreload = isLinkPreload; } /** * Set for requests when the TrustToken API is used. Contains the parameters passed by the * developer (e.g. via "fetch") as understood by the backend. */ public TrustTokenParams getTrustTokenParams() { return trustTokenParams; } /** * Set for requests when the TrustToken API is used. Contains the parameters passed by the * developer (e.g. via "fetch") as understood by the backend. */ public void setTrustTokenParams(TrustTokenParams trustTokenParams) { this.trustTokenParams = trustTokenParams; } /** * True if this resource request is considered to be the 'same site' as the request correspondinfg * to the main frame. */ public Boolean getIsSameSite() { return isSameSite; } /** * True if this resource request is considered to be the 'same site' as the request correspondinfg * to the main frame. */ public void setIsSameSite(Boolean isSameSite) { this.isSameSite = isSameSite; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/RequestPattern.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Request pattern for interception. */ @Experimental public class RequestPattern { @Optional private String urlPattern; @Optional private ResourceType resourceType; @Optional private InterceptionStage interceptionStage; /** * Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is * backslash. Omitting is equivalent to `"*"`. */ public String getUrlPattern() { return urlPattern; } /** * Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is * backslash. Omitting is equivalent to `"*"`. */ public void setUrlPattern(String urlPattern) { this.urlPattern = urlPattern; } /** If set, only requests for matching resource types will be intercepted. */ public ResourceType getResourceType() { return resourceType; } /** If set, only requests for matching resource types will be intercepted. */ public void setResourceType(ResourceType resourceType) { this.resourceType = resourceType; } /** Stage at which to begin intercepting requests. Default is Request. */ public InterceptionStage getInterceptionStage() { return interceptionStage; } /** Stage at which to begin intercepting requests. Default is Request. */ public void setInterceptionStage(InterceptionStage interceptionStage) { this.interceptionStage = interceptionStage; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/RequestReferrerPolicy.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/ */ public enum RequestReferrerPolicy { @JsonProperty("unsafe-url") UNSAFE_URL, @JsonProperty("no-referrer-when-downgrade") NO_REFERRER_WHEN_DOWNGRADE, @JsonProperty("no-referrer") NO_REFERRER, @JsonProperty("origin") ORIGIN, @JsonProperty("origin-when-cross-origin") ORIGIN_WHEN_CROSS_ORIGIN, @JsonProperty("same-origin") SAME_ORIGIN, @JsonProperty("strict-origin") STRICT_ORIGIN, @JsonProperty("strict-origin-when-cross-origin") STRICT_ORIGIN_WHEN_CROSS_ORIGIN }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/ResourcePriority.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Loading priority of a resource request. */ public enum ResourcePriority { @JsonProperty("VeryLow") VERY_LOW, @JsonProperty("Low") LOW, @JsonProperty("Medium") MEDIUM, @JsonProperty("High") HIGH, @JsonProperty("VeryHigh") VERY_HIGH }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/ResourceTiming.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; /** Timing information for the request. */ public class ResourceTiming { private Double requestTime; private Double proxyStart; private Double proxyEnd; private Double dnsStart; private Double dnsEnd; private Double connectStart; private Double connectEnd; private Double sslStart; private Double sslEnd; @Experimental private Double workerStart; @Experimental private Double workerReady; @Experimental private Double workerFetchStart; @Experimental private Double workerRespondWithSettled; private Double sendStart; private Double sendEnd; @Experimental private Double pushStart; @Experimental private Double pushEnd; @Experimental private Double receiveHeadersStart; private Double receiveHeadersEnd; /** * Timing's requestTime is a baseline in seconds, while the other numbers are ticks in * milliseconds relatively to this requestTime. */ public Double getRequestTime() { return requestTime; } /** * Timing's requestTime is a baseline in seconds, while the other numbers are ticks in * milliseconds relatively to this requestTime. */ public void setRequestTime(Double requestTime) { this.requestTime = requestTime; } /** Started resolving proxy. */ public Double getProxyStart() { return proxyStart; } /** Started resolving proxy. */ public void setProxyStart(Double proxyStart) { this.proxyStart = proxyStart; } /** Finished resolving proxy. */ public Double getProxyEnd() { return proxyEnd; } /** Finished resolving proxy. */ public void setProxyEnd(Double proxyEnd) { this.proxyEnd = proxyEnd; } /** Started DNS address resolve. */ public Double getDnsStart() { return dnsStart; } /** Started DNS address resolve. */ public void setDnsStart(Double dnsStart) { this.dnsStart = dnsStart; } /** Finished DNS address resolve. */ public Double getDnsEnd() { return dnsEnd; } /** Finished DNS address resolve. */ public void setDnsEnd(Double dnsEnd) { this.dnsEnd = dnsEnd; } /** Started connecting to the remote host. */ public Double getConnectStart() { return connectStart; } /** Started connecting to the remote host. */ public void setConnectStart(Double connectStart) { this.connectStart = connectStart; } /** Connected to the remote host. */ public Double getConnectEnd() { return connectEnd; } /** Connected to the remote host. */ public void setConnectEnd(Double connectEnd) { this.connectEnd = connectEnd; } /** Started SSL handshake. */ public Double getSslStart() { return sslStart; } /** Started SSL handshake. */ public void setSslStart(Double sslStart) { this.sslStart = sslStart; } /** Finished SSL handshake. */ public Double getSslEnd() { return sslEnd; } /** Finished SSL handshake. */ public void setSslEnd(Double sslEnd) { this.sslEnd = sslEnd; } /** Started running ServiceWorker. */ public Double getWorkerStart() { return workerStart; } /** Started running ServiceWorker. */ public void setWorkerStart(Double workerStart) { this.workerStart = workerStart; } /** Finished Starting ServiceWorker. */ public Double getWorkerReady() { return workerReady; } /** Finished Starting ServiceWorker. */ public void setWorkerReady(Double workerReady) { this.workerReady = workerReady; } /** Started fetch event. */ public Double getWorkerFetchStart() { return workerFetchStart; } /** Started fetch event. */ public void setWorkerFetchStart(Double workerFetchStart) { this.workerFetchStart = workerFetchStart; } /** Settled fetch event respondWith promise. */ public Double getWorkerRespondWithSettled() { return workerRespondWithSettled; } /** Settled fetch event respondWith promise. */ public void setWorkerRespondWithSettled(Double workerRespondWithSettled) { this.workerRespondWithSettled = workerRespondWithSettled; } /** Started sending request. */ public Double getSendStart() { return sendStart; } /** Started sending request. */ public void setSendStart(Double sendStart) { this.sendStart = sendStart; } /** Finished sending request. */ public Double getSendEnd() { return sendEnd; } /** Finished sending request. */ public void setSendEnd(Double sendEnd) { this.sendEnd = sendEnd; } /** Time the server started pushing request. */ public Double getPushStart() { return pushStart; } /** Time the server started pushing request. */ public void setPushStart(Double pushStart) { this.pushStart = pushStart; } /** Time the server finished pushing request. */ public Double getPushEnd() { return pushEnd; } /** Time the server finished pushing request. */ public void setPushEnd(Double pushEnd) { this.pushEnd = pushEnd; } /** Started receiving response headers. */ public Double getReceiveHeadersStart() { return receiveHeadersStart; } /** Started receiving response headers. */ public void setReceiveHeadersStart(Double receiveHeadersStart) { this.receiveHeadersStart = receiveHeadersStart; } /** Finished receiving response headers. */ public Double getReceiveHeadersEnd() { return receiveHeadersEnd; } /** Finished receiving response headers. */ public void setReceiveHeadersEnd(Double receiveHeadersEnd) { this.receiveHeadersEnd = receiveHeadersEnd; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/ResourceType.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Resource type as it was perceived by the rendering engine. */ public enum ResourceType { @JsonProperty("Document") DOCUMENT, @JsonProperty("Stylesheet") STYLESHEET, @JsonProperty("Image") IMAGE, @JsonProperty("Media") MEDIA, @JsonProperty("Font") FONT, @JsonProperty("Script") SCRIPT, @JsonProperty("TextTrack") TEXT_TRACK, @JsonProperty("XHR") XHR, @JsonProperty("Fetch") FETCH, @JsonProperty("Prefetch") PREFETCH, @JsonProperty("EventSource") EVENT_SOURCE, @JsonProperty("WebSocket") WEB_SOCKET, @JsonProperty("Manifest") MANIFEST, @JsonProperty("SignedExchange") SIGNED_EXCHANGE, @JsonProperty("Ping") PING, @JsonProperty("CSPViolationReport") CSP_VIOLATION_REPORT, @JsonProperty("Preflight") PREFLIGHT, @JsonProperty("Other") OTHER }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/Response.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.security.SecurityState; import java.util.Map; /** HTTP response data. */ public class Response { private String url; private Integer status; private String statusText; private Map<String, Object> headers; @Deprecated @Optional private String headersText; private String mimeType; @Optional private Map<String, Object> requestHeaders; @Deprecated @Optional private String requestHeadersText; private Boolean connectionReused; private Double connectionId; @Optional private String remoteIPAddress; @Optional private Integer remotePort; @Optional private Boolean fromDiskCache; @Optional private Boolean fromServiceWorker; @Optional private Boolean fromPrefetchCache; private Double encodedDataLength; @Optional private ResourceTiming timing; @Optional private ServiceWorkerResponseSource serviceWorkerResponseSource; @Optional private Double responseTime; @Optional private String cacheStorageCacheName; @Optional private String protocol; @Experimental @Optional private AlternateProtocolUsage alternateProtocolUsage; private SecurityState securityState; @Optional private SecurityDetails securityDetails; /** Response URL. This URL can be different from CachedResource.url in case of redirect. */ public String getUrl() { return url; } /** Response URL. This URL can be different from CachedResource.url in case of redirect. */ public void setUrl(String url) { this.url = url; } /** HTTP response status code. */ public Integer getStatus() { return status; } /** HTTP response status code. */ public void setStatus(Integer status) { this.status = status; } /** HTTP response status text. */ public String getStatusText() { return statusText; } /** HTTP response status text. */ public void setStatusText(String statusText) { this.statusText = statusText; } /** HTTP response headers. */ public Map<String, Object> getHeaders() { return headers; } /** HTTP response headers. */ public void setHeaders(Map<String, Object> headers) { this.headers = headers; } /** * HTTP response headers text. This has been replaced by the headers in * Network.responseReceivedExtraInfo. */ public String getHeadersText() { return headersText; } /** * HTTP response headers text. This has been replaced by the headers in * Network.responseReceivedExtraInfo. */ public void setHeadersText(String headersText) { this.headersText = headersText; } /** Resource mimeType as determined by the browser. */ public String getMimeType() { return mimeType; } /** Resource mimeType as determined by the browser. */ public void setMimeType(String mimeType) { this.mimeType = mimeType; } /** Refined HTTP request headers that were actually transmitted over the network. */ public Map<String, Object> getRequestHeaders() { return requestHeaders; } /** Refined HTTP request headers that were actually transmitted over the network. */ public void setRequestHeaders(Map<String, Object> requestHeaders) { this.requestHeaders = requestHeaders; } /** * HTTP request headers text. This has been replaced by the headers in * Network.requestWillBeSentExtraInfo. */ public String getRequestHeadersText() { return requestHeadersText; } /** * HTTP request headers text. This has been replaced by the headers in * Network.requestWillBeSentExtraInfo. */ public void setRequestHeadersText(String requestHeadersText) { this.requestHeadersText = requestHeadersText; } /** Specifies whether physical connection was actually reused for this request. */ public Boolean getConnectionReused() { return connectionReused; } /** Specifies whether physical connection was actually reused for this request. */ public void setConnectionReused(Boolean connectionReused) { this.connectionReused = connectionReused; } /** Physical connection id that was actually used for this request. */ public Double getConnectionId() { return connectionId; } /** Physical connection id that was actually used for this request. */ public void setConnectionId(Double connectionId) { this.connectionId = connectionId; } /** Remote IP address. */ public String getRemoteIPAddress() { return remoteIPAddress; } /** Remote IP address. */ public void setRemoteIPAddress(String remoteIPAddress) { this.remoteIPAddress = remoteIPAddress; } /** Remote port. */ public Integer getRemotePort() { return remotePort; } /** Remote port. */ public void setRemotePort(Integer remotePort) { this.remotePort = remotePort; } /** Specifies that the request was served from the disk cache. */ public Boolean getFromDiskCache() { return fromDiskCache; } /** Specifies that the request was served from the disk cache. */ public void setFromDiskCache(Boolean fromDiskCache) { this.fromDiskCache = fromDiskCache; } /** Specifies that the request was served from the ServiceWorker. */ public Boolean getFromServiceWorker() { return fromServiceWorker; } /** Specifies that the request was served from the ServiceWorker. */ public void setFromServiceWorker(Boolean fromServiceWorker) { this.fromServiceWorker = fromServiceWorker; } /** Specifies that the request was served from the prefetch cache. */ public Boolean getFromPrefetchCache() { return fromPrefetchCache; } /** Specifies that the request was served from the prefetch cache. */ public void setFromPrefetchCache(Boolean fromPrefetchCache) { this.fromPrefetchCache = fromPrefetchCache; } /** Total number of bytes received for this request so far. */ public Double getEncodedDataLength() { return encodedDataLength; } /** Total number of bytes received for this request so far. */ public void setEncodedDataLength(Double encodedDataLength) { this.encodedDataLength = encodedDataLength; } /** Timing information for the given request. */ public ResourceTiming getTiming() { return timing; } /** Timing information for the given request. */ public void setTiming(ResourceTiming timing) { this.timing = timing; } /** Response source of response from ServiceWorker. */ public ServiceWorkerResponseSource getServiceWorkerResponseSource() { return serviceWorkerResponseSource; } /** Response source of response from ServiceWorker. */ public void setServiceWorkerResponseSource( ServiceWorkerResponseSource serviceWorkerResponseSource) { this.serviceWorkerResponseSource = serviceWorkerResponseSource; } /** The time at which the returned response was generated. */ public Double getResponseTime() { return responseTime; } /** The time at which the returned response was generated. */ public void setResponseTime(Double responseTime) { this.responseTime = responseTime; } /** Cache Storage Cache Name. */ public String getCacheStorageCacheName() { return cacheStorageCacheName; } /** Cache Storage Cache Name. */ public void setCacheStorageCacheName(String cacheStorageCacheName) { this.cacheStorageCacheName = cacheStorageCacheName; } /** Protocol used to fetch this request. */ public String getProtocol() { return protocol; } /** Protocol used to fetch this request. */ public void setProtocol(String protocol) { this.protocol = protocol; } /** The reason why Chrome uses a specific transport protocol for HTTP semantics. */ public AlternateProtocolUsage getAlternateProtocolUsage() { return alternateProtocolUsage; } /** The reason why Chrome uses a specific transport protocol for HTTP semantics. */ public void setAlternateProtocolUsage(AlternateProtocolUsage alternateProtocolUsage) { this.alternateProtocolUsage = alternateProtocolUsage; } /** Security state of the request resource. */ public SecurityState getSecurityState() { return securityState; } /** Security state of the request resource. */ public void setSecurityState(SecurityState securityState) { this.securityState = securityState; } /** Security details for the request. */ public SecurityDetails getSecurityDetails() { return securityDetails; } /** Security details for the request. */ public void setSecurityDetails(SecurityDetails securityDetails) { this.securityDetails = securityDetails; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/ResponseBody.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ public class ResponseBody { private String body; private Boolean base64Encoded; /** Response body. */ public String getBody() { return body; } /** Response body. */ public void setBody(String body) { this.body = body; } /** True, if content was sent as base64. */ public Boolean getBase64Encoded() { return base64Encoded; } /** True, if content was sent as base64. */ public void setBase64Encoded(Boolean base64Encoded) { this.base64Encoded = base64Encoded; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/ResponseBodyForInterception.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ public class ResponseBodyForInterception { private String body; private Boolean base64Encoded; /** Response body. */ public String getBody() { return body; } /** Response body. */ public void setBody(String body) { this.body = body; } /** True, if content was sent as base64. */ public Boolean getBase64Encoded() { return base64Encoded; } /** True, if content was sent as base64. */ public void setBase64Encoded(Boolean base64Encoded) { this.base64Encoded = base64Encoded; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/SecurityDetails.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** Security details about a request. */ public class SecurityDetails { private String protocol; private String keyExchange; @Optional private String keyExchangeGroup; private String cipher; @Optional private String mac; private Integer certificateId; private String subjectName; private List<String> sanList; private String issuer; private Double validFrom; private Double validTo; private List<SignedCertificateTimestamp> signedCertificateTimestampList; private CertificateTransparencyCompliance certificateTransparencyCompliance; @Optional private Integer serverSignatureAlgorithm; private Boolean encryptedClientHello; /** Protocol name (e.g. "TLS 1.2" or "QUIC"). */ public String getProtocol() { return protocol; } /** Protocol name (e.g. "TLS 1.2" or "QUIC"). */ public void setProtocol(String protocol) { this.protocol = protocol; } /** Key Exchange used by the connection, or the empty string if not applicable. */ public String getKeyExchange() { return keyExchange; } /** Key Exchange used by the connection, or the empty string if not applicable. */ public void setKeyExchange(String keyExchange) { this.keyExchange = keyExchange; } /** (EC)DH group used by the connection, if applicable. */ public String getKeyExchangeGroup() { return keyExchangeGroup; } /** (EC)DH group used by the connection, if applicable. */ public void setKeyExchangeGroup(String keyExchangeGroup) { this.keyExchangeGroup = keyExchangeGroup; } /** Cipher name. */ public String getCipher() { return cipher; } /** Cipher name. */ public void setCipher(String cipher) { this.cipher = cipher; } /** TLS MAC. Note that AEAD ciphers do not have separate MACs. */ public String getMac() { return mac; } /** TLS MAC. Note that AEAD ciphers do not have separate MACs. */ public void setMac(String mac) { this.mac = mac; } /** Certificate ID value. */ public Integer getCertificateId() { return certificateId; } /** Certificate ID value. */ public void setCertificateId(Integer certificateId) { this.certificateId = certificateId; } /** Certificate subject name. */ public String getSubjectName() { return subjectName; } /** Certificate subject name. */ public void setSubjectName(String subjectName) { this.subjectName = subjectName; } /** Subject Alternative Name (SAN) DNS names and IP addresses. */ public List<String> getSanList() { return sanList; } /** Subject Alternative Name (SAN) DNS names and IP addresses. */ public void setSanList(List<String> sanList) { this.sanList = sanList; } /** Name of the issuing CA. */ public String getIssuer() { return issuer; } /** Name of the issuing CA. */ public void setIssuer(String issuer) { this.issuer = issuer; } /** Certificate valid from date. */ public Double getValidFrom() { return validFrom; } /** Certificate valid from date. */ public void setValidFrom(Double validFrom) { this.validFrom = validFrom; } /** Certificate valid to (expiration) date */ public Double getValidTo() { return validTo; } /** Certificate valid to (expiration) date */ public void setValidTo(Double validTo) { this.validTo = validTo; } /** List of signed certificate timestamps (SCTs). */ public List<SignedCertificateTimestamp> getSignedCertificateTimestampList() { return signedCertificateTimestampList; } /** List of signed certificate timestamps (SCTs). */ public void setSignedCertificateTimestampList( List<SignedCertificateTimestamp> signedCertificateTimestampList) { this.signedCertificateTimestampList = signedCertificateTimestampList; } /** Whether the request complied with Certificate Transparency policy */ public CertificateTransparencyCompliance getCertificateTransparencyCompliance() { return certificateTransparencyCompliance; } /** Whether the request complied with Certificate Transparency policy */ public void setCertificateTransparencyCompliance( CertificateTransparencyCompliance certificateTransparencyCompliance) { this.certificateTransparencyCompliance = certificateTransparencyCompliance; } /** * The signature algorithm used by the server in the TLS server signature, represented as a TLS * SignatureScheme code point. Omitted if not applicable or not known. */ public Integer getServerSignatureAlgorithm() { return serverSignatureAlgorithm; } /** * The signature algorithm used by the server in the TLS server signature, represented as a TLS * SignatureScheme code point. Omitted if not applicable or not known. */ public void setServerSignatureAlgorithm(Integer serverSignatureAlgorithm) { this.serverSignatureAlgorithm = serverSignatureAlgorithm; } /** Whether the connection used Encrypted ClientHello */ public Boolean getEncryptedClientHello() { return encryptedClientHello; } /** Whether the connection used Encrypted ClientHello */ public void setEncryptedClientHello(Boolean encryptedClientHello) { this.encryptedClientHello = encryptedClientHello; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/SecurityIsolationStatus.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; @Experimental public class SecurityIsolationStatus { @Optional private CrossOriginOpenerPolicyStatus coop; @Optional private CrossOriginEmbedderPolicyStatus coep; @Optional private List<ContentSecurityPolicyStatus> csp; public CrossOriginOpenerPolicyStatus getCoop() { return coop; } public void setCoop(CrossOriginOpenerPolicyStatus coop) { this.coop = coop; } public CrossOriginEmbedderPolicyStatus getCoep() { return coep; } public void setCoep(CrossOriginEmbedderPolicyStatus coep) { this.coep = coep; } public List<ContentSecurityPolicyStatus> getCsp() { return csp; } public void setCsp(List<ContentSecurityPolicyStatus> csp) { this.csp = csp; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/ServiceWorkerResponseSource.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Source of serviceworker response. */ public enum ServiceWorkerResponseSource { @JsonProperty("cache-storage") CACHE_STORAGE, @JsonProperty("http-cache") HTTP_CACHE, @JsonProperty("fallback-code") FALLBACK_CODE, @JsonProperty("network") NETWORK }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/SetCookieBlockedReason.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Types of reasons why a cookie may not be stored from a response. */ public enum SetCookieBlockedReason { @JsonProperty("SecureOnly") SECURE_ONLY, @JsonProperty("SameSiteStrict") SAME_SITE_STRICT, @JsonProperty("SameSiteLax") SAME_SITE_LAX, @JsonProperty("SameSiteUnspecifiedTreatedAsLax") SAME_SITE_UNSPECIFIED_TREATED_AS_LAX, @JsonProperty("SameSiteNoneInsecure") SAME_SITE_NONE_INSECURE, @JsonProperty("UserPreferences") USER_PREFERENCES, @JsonProperty("ThirdPartyBlockedInFirstPartySet") THIRD_PARTY_BLOCKED_IN_FIRST_PARTY_SET, @JsonProperty("SyntaxError") SYNTAX_ERROR, @JsonProperty("SchemeNotSupported") SCHEME_NOT_SUPPORTED, @JsonProperty("OverwriteSecure") OVERWRITE_SECURE, @JsonProperty("InvalidDomain") INVALID_DOMAIN, @JsonProperty("InvalidPrefix") INVALID_PREFIX, @JsonProperty("UnknownError") UNKNOWN_ERROR, @JsonProperty("SchemefulSameSiteStrict") SCHEMEFUL_SAME_SITE_STRICT, @JsonProperty("SchemefulSameSiteLax") SCHEMEFUL_SAME_SITE_LAX, @JsonProperty("SchemefulSameSiteUnspecifiedTreatedAsLax") SCHEMEFUL_SAME_SITE_UNSPECIFIED_TREATED_AS_LAX, @JsonProperty("SamePartyFromCrossPartyContext") SAME_PARTY_FROM_CROSS_PARTY_CONTEXT, @JsonProperty("SamePartyConflictsWithOtherAttributes") SAME_PARTY_CONFLICTS_WITH_OTHER_ATTRIBUTES, @JsonProperty("NameValuePairExceedsMaxSize") NAME_VALUE_PAIR_EXCEEDS_MAX_SIZE, @JsonProperty("DisallowedCharacter") DISALLOWED_CHARACTER }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/SignedCertificateTimestamp.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Details of a signed certificate timestamp (SCT). */ public class SignedCertificateTimestamp { private String status; private String origin; private String logDescription; private String logId; private Double timestamp; private String hashAlgorithm; private String signatureAlgorithm; private String signatureData; /** Validation status. */ public String getStatus() { return status; } /** Validation status. */ public void setStatus(String status) { this.status = status; } /** Origin. */ public String getOrigin() { return origin; } /** Origin. */ public void setOrigin(String origin) { this.origin = origin; } /** Log name / description. */ public String getLogDescription() { return logDescription; } /** Log name / description. */ public void setLogDescription(String logDescription) { this.logDescription = logDescription; } /** Log ID. */ public String getLogId() { return logId; } /** Log ID. */ public void setLogId(String logId) { this.logId = logId; } /** * Issuance date. Unlike TimeSinceEpoch, this contains the number of milliseconds since January 1, * 1970, UTC, not the number of seconds. */ public Double getTimestamp() { return timestamp; } /** * Issuance date. Unlike TimeSinceEpoch, this contains the number of milliseconds since January 1, * 1970, UTC, not the number of seconds. */ public void setTimestamp(Double timestamp) { this.timestamp = timestamp; } /** Hash algorithm. */ public String getHashAlgorithm() { return hashAlgorithm; } /** Hash algorithm. */ public void setHashAlgorithm(String hashAlgorithm) { this.hashAlgorithm = hashAlgorithm; } /** Signature algorithm. */ public String getSignatureAlgorithm() { return signatureAlgorithm; } /** Signature algorithm. */ public void setSignatureAlgorithm(String signatureAlgorithm) { this.signatureAlgorithm = signatureAlgorithm; } /** Signature data. */ public String getSignatureData() { return signatureData; } /** Signature data. */ public void setSignatureData(String signatureData) { this.signatureData = signatureData; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/SignedExchangeError.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Information about a signed exchange response. */ @Experimental public class SignedExchangeError { private String message; @Optional private Integer signatureIndex; @Optional private SignedExchangeErrorField errorField; /** Error message. */ public String getMessage() { return message; } /** Error message. */ public void setMessage(String message) { this.message = message; } /** The index of the signature which caused the error. */ public Integer getSignatureIndex() { return signatureIndex; } /** The index of the signature which caused the error. */ public void setSignatureIndex(Integer signatureIndex) { this.signatureIndex = signatureIndex; } /** The field which caused the error. */ public SignedExchangeErrorField getErrorField() { return errorField; } /** The field which caused the error. */ public void setErrorField(SignedExchangeErrorField errorField) { this.errorField = errorField; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/SignedExchangeErrorField.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Field type for a signed exchange related error. */ public enum SignedExchangeErrorField { @JsonProperty("signatureSig") SIGNATURE_SIG, @JsonProperty("signatureIntegrity") SIGNATURE_INTEGRITY, @JsonProperty("signatureCertUrl") SIGNATURE_CERT_URL, @JsonProperty("signatureCertSha256") SIGNATURE_CERT_SHA_256, @JsonProperty("signatureValidityUrl") SIGNATURE_VALIDITY_URL, @JsonProperty("signatureTimestamps") SIGNATURE_TIMESTAMPS }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/SignedExchangeHeader.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import java.util.List; import java.util.Map; /** * Information about a signed exchange header. * https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#cbor-representation */ @Experimental public class SignedExchangeHeader { private String requestUrl; private Integer responseCode; private Map<String, Object> responseHeaders; private List<SignedExchangeSignature> signatures; private String headerIntegrity; /** Signed exchange request URL. */ public String getRequestUrl() { return requestUrl; } /** Signed exchange request URL. */ public void setRequestUrl(String requestUrl) { this.requestUrl = requestUrl; } /** Signed exchange response code. */ public Integer getResponseCode() { return responseCode; } /** Signed exchange response code. */ public void setResponseCode(Integer responseCode) { this.responseCode = responseCode; } /** Signed exchange response headers. */ public Map<String, Object> getResponseHeaders() { return responseHeaders; } /** Signed exchange response headers. */ public void setResponseHeaders(Map<String, Object> responseHeaders) { this.responseHeaders = responseHeaders; } /** Signed exchange response signature. */ public List<SignedExchangeSignature> getSignatures() { return signatures; } /** Signed exchange response signature. */ public void setSignatures(List<SignedExchangeSignature> signatures) { this.signatures = signatures; } /** Signed exchange header integrity hash in the form of `sha256-<base64-hash-value>`. */ public String getHeaderIntegrity() { return headerIntegrity; } /** Signed exchange header integrity hash in the form of `sha256-<base64-hash-value>`. */ public void setHeaderIntegrity(String headerIntegrity) { this.headerIntegrity = headerIntegrity; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/SignedExchangeInfo.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** Information about a signed exchange response. */ @Experimental public class SignedExchangeInfo { private Response outerResponse; @Optional private SignedExchangeHeader header; @Optional private SecurityDetails securityDetails; @Optional private List<SignedExchangeError> errors; /** The outer response of signed HTTP exchange which was received from network. */ public Response getOuterResponse() { return outerResponse; } /** The outer response of signed HTTP exchange which was received from network. */ public void setOuterResponse(Response outerResponse) { this.outerResponse = outerResponse; } /** Information about the signed exchange header. */ public SignedExchangeHeader getHeader() { return header; } /** Information about the signed exchange header. */ public void setHeader(SignedExchangeHeader header) { this.header = header; } /** Security details for the signed exchange header. */ public SecurityDetails getSecurityDetails() { return securityDetails; } /** Security details for the signed exchange header. */ public void setSecurityDetails(SecurityDetails securityDetails) { this.securityDetails = securityDetails; } /** Errors occurred while handling the signed exchagne. */ public List<SignedExchangeError> getErrors() { return errors; } /** Errors occurred while handling the signed exchagne. */ public void setErrors(List<SignedExchangeError> errors) { this.errors = errors; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/SignedExchangeSignature.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** * Information about a signed exchange signature. * https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1 */ @Experimental public class SignedExchangeSignature { private String label; private String signature; private String integrity; @Optional private String certUrl; @Optional private String certSha256; private String validityUrl; private Integer date; private Integer expires; @Optional private List<String> certificates; /** Signed exchange signature label. */ public String getLabel() { return label; } /** Signed exchange signature label. */ public void setLabel(String label) { this.label = label; } /** The hex string of signed exchange signature. */ public String getSignature() { return signature; } /** The hex string of signed exchange signature. */ public void setSignature(String signature) { this.signature = signature; } /** Signed exchange signature integrity. */ public String getIntegrity() { return integrity; } /** Signed exchange signature integrity. */ public void setIntegrity(String integrity) { this.integrity = integrity; } /** Signed exchange signature cert Url. */ public String getCertUrl() { return certUrl; } /** Signed exchange signature cert Url. */ public void setCertUrl(String certUrl) { this.certUrl = certUrl; } /** The hex string of signed exchange signature cert sha256. */ public String getCertSha256() { return certSha256; } /** The hex string of signed exchange signature cert sha256. */ public void setCertSha256(String certSha256) { this.certSha256 = certSha256; } /** Signed exchange signature validity Url. */ public String getValidityUrl() { return validityUrl; } /** Signed exchange signature validity Url. */ public void setValidityUrl(String validityUrl) { this.validityUrl = validityUrl; } /** Signed exchange signature date. */ public Integer getDate() { return date; } /** Signed exchange signature date. */ public void setDate(Integer date) { this.date = date; } /** Signed exchange signature expires. */ public Integer getExpires() { return expires; } /** Signed exchange signature expires. */ public void setExpires(Integer expires) { this.expires = expires; } /** The encoded certificates. */ public List<String> getCertificates() { return certificates; } /** The encoded certificates. */ public void setCertificates(List<String> certificates) { this.certificates = certificates; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/TrustTokenOperationType.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum TrustTokenOperationType { @JsonProperty("Issuance") ISSUANCE, @JsonProperty("Redemption") REDEMPTION, @JsonProperty("Signing") SIGNING }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/TrustTokenParams.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** * Determines what type of Trust Token operation is executed and depending on the type, some * additional parameters. The values are specified in * third_party/blink/renderer/core/fetch/trust_token.idl. */ @Experimental public class TrustTokenParams { private TrustTokenOperationType operation; private TrustTokenParamsRefreshPolicy refreshPolicy; @Optional private List<String> issuers; public TrustTokenOperationType getOperation() { return operation; } public void setOperation(TrustTokenOperationType operation) { this.operation = operation; } /** * Only set for "token-redemption" operation and determine whether to request a fresh SRR or use a * still valid cached SRR. */ public TrustTokenParamsRefreshPolicy getRefreshPolicy() { return refreshPolicy; } /** * Only set for "token-redemption" operation and determine whether to request a fresh SRR or use a * still valid cached SRR. */ public void setRefreshPolicy(TrustTokenParamsRefreshPolicy refreshPolicy) { this.refreshPolicy = refreshPolicy; } /** Origins of issuers from whom to request tokens or redemption records. */ public List<String> getIssuers() { return issuers; } /** Origins of issuers from whom to request tokens or redemption records. */ public void setIssuers(List<String> issuers) { this.issuers = issuers; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/TrustTokenParamsRefreshPolicy.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * Only set for "token-redemption" operation and determine whether to request a fresh SRR or use a * still valid cached SRR. */ public enum TrustTokenParamsRefreshPolicy { @JsonProperty("UseCached") USE_CACHED, @JsonProperty("Refresh") REFRESH }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/WebSocketFrame.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** * WebSocket message data. This represents an entire WebSocket message, not just a fragmented frame * as the name suggests. */ public class WebSocketFrame { private Double opcode; private Boolean mask; private String payloadData; /** WebSocket message opcode. */ public Double getOpcode() { return opcode; } /** WebSocket message opcode. */ public void setOpcode(Double opcode) { this.opcode = opcode; } /** WebSocket message mask. */ public Boolean getMask() { return mask; } /** WebSocket message mask. */ public void setMask(Boolean mask) { this.mask = mask; } /** * WebSocket message payload data. If the opcode is 1, this is a text message and payloadData is a * UTF-8 string. If the opcode isn't 1, then payloadData is a base64 encoded string representing * binary data. */ public String getPayloadData() { return payloadData; } /** * WebSocket message payload data. If the opcode is 1, this is a text message and payloadData is a * UTF-8 string. If the opcode isn't 1, then payloadData is a base64 encoded string representing * binary data. */ public void setPayloadData(String payloadData) { this.payloadData = payloadData; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/WebSocketRequest.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.Map; /** WebSocket request data. */ public class WebSocketRequest { private Map<String, Object> headers; /** HTTP request headers. */ public Map<String, Object> getHeaders() { return headers; } /** HTTP request headers. */ public void setHeaders(Map<String, Object> headers) { this.headers = headers; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/WebSocketResponse.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.Map; /** WebSocket response data. */ public class WebSocketResponse { private Integer status; private String statusText; private Map<String, Object> headers; @Optional private String headersText; @Optional private Map<String, Object> requestHeaders; @Optional private String requestHeadersText; /** HTTP response status code. */ public Integer getStatus() { return status; } /** HTTP response status code. */ public void setStatus(Integer status) { this.status = status; } /** HTTP response status text. */ public String getStatusText() { return statusText; } /** HTTP response status text. */ public void setStatusText(String statusText) { this.statusText = statusText; } /** HTTP response headers. */ public Map<String, Object> getHeaders() { return headers; } /** HTTP response headers. */ public void setHeaders(Map<String, Object> headers) { this.headers = headers; } /** HTTP response headers text. */ public String getHeadersText() { return headersText; } /** HTTP response headers text. */ public void setHeadersText(String headersText) { this.headersText = headersText; } /** HTTP request headers. */ public Map<String, Object> getRequestHeaders() { return requestHeaders; } /** HTTP request headers. */ public void setRequestHeaders(Map<String, Object> requestHeaders) { this.requestHeaders = requestHeaders; } /** HTTP request headers text. */ public String getRequestHeadersText() { return requestHeadersText; } /** HTTP request headers text. */ public void setRequestHeadersText(String requestHeadersText) { this.requestHeadersText = requestHeadersText; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/BoxStyle.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.dom.RGBA; /** Style information for drawing a box. */ public class BoxStyle { @Optional private RGBA fillColor; @Optional private RGBA hatchColor; /** The background color for the box (default: transparent) */ public RGBA getFillColor() { return fillColor; } /** The background color for the box (default: transparent) */ public void setFillColor(RGBA fillColor) { this.fillColor = fillColor; } /** The hatching color for the box (default: transparent) */ public RGBA getHatchColor() { return hatchColor; } /** The hatching color for the box (default: transparent) */ public void setHatchColor(RGBA hatchColor) { this.hatchColor = hatchColor; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/ColorFormat.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum ColorFormat { @JsonProperty("rgb") RGB, @JsonProperty("hsl") HSL, @JsonProperty("hwb") HWB, @JsonProperty("hex") HEX }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/ContainerQueryContainerHighlightConfig.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; public class ContainerQueryContainerHighlightConfig { @Optional private LineStyle containerBorder; @Optional private LineStyle descendantBorder; /** The style of the container border. */ public LineStyle getContainerBorder() { return containerBorder; } /** The style of the container border. */ public void setContainerBorder(LineStyle containerBorder) { this.containerBorder = containerBorder; } /** The style of the descendants' borders. */ public LineStyle getDescendantBorder() { return descendantBorder; } /** The style of the descendants' borders. */ public void setDescendantBorder(LineStyle descendantBorder) { this.descendantBorder = descendantBorder; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/ContainerQueryHighlightConfig.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ public class ContainerQueryHighlightConfig { private ContainerQueryContainerHighlightConfig containerQueryContainerHighlightConfig; private Integer nodeId; /** A descriptor for the highlight appearance of container query containers. */ public ContainerQueryContainerHighlightConfig getContainerQueryContainerHighlightConfig() { return containerQueryContainerHighlightConfig; } /** A descriptor for the highlight appearance of container query containers. */ public void setContainerQueryContainerHighlightConfig( ContainerQueryContainerHighlightConfig containerQueryContainerHighlightConfig) { this.containerQueryContainerHighlightConfig = containerQueryContainerHighlightConfig; } /** Identifier of the container node to highlight. */ public Integer getNodeId() { return nodeId; } /** Identifier of the container node to highlight. */ public void setNodeId(Integer nodeId) { this.nodeId = nodeId; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/ContrastAlgorithm.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum ContrastAlgorithm { @JsonProperty("aa") AA, @JsonProperty("aaa") AAA, @JsonProperty("apca") APCA }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/FlexContainerHighlightConfig.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Configuration data for the highlighting of Flex container elements. */ public class FlexContainerHighlightConfig { @Optional private LineStyle containerBorder; @Optional private LineStyle lineSeparator; @Optional private LineStyle itemSeparator; @Optional private BoxStyle mainDistributedSpace; @Optional private BoxStyle crossDistributedSpace; @Optional private BoxStyle rowGapSpace; @Optional private BoxStyle columnGapSpace; @Optional private LineStyle crossAlignment; /** The style of the container border */ public LineStyle getContainerBorder() { return containerBorder; } /** The style of the container border */ public void setContainerBorder(LineStyle containerBorder) { this.containerBorder = containerBorder; } /** The style of the separator between lines */ public LineStyle getLineSeparator() { return lineSeparator; } /** The style of the separator between lines */ public void setLineSeparator(LineStyle lineSeparator) { this.lineSeparator = lineSeparator; } /** The style of the separator between items */ public LineStyle getItemSeparator() { return itemSeparator; } /** The style of the separator between items */ public void setItemSeparator(LineStyle itemSeparator) { this.itemSeparator = itemSeparator; } /** Style of content-distribution space on the main axis (justify-content). */ public BoxStyle getMainDistributedSpace() { return mainDistributedSpace; } /** Style of content-distribution space on the main axis (justify-content). */ public void setMainDistributedSpace(BoxStyle mainDistributedSpace) { this.mainDistributedSpace = mainDistributedSpace; } /** Style of content-distribution space on the cross axis (align-content). */ public BoxStyle getCrossDistributedSpace() { return crossDistributedSpace; } /** Style of content-distribution space on the cross axis (align-content). */ public void setCrossDistributedSpace(BoxStyle crossDistributedSpace) { this.crossDistributedSpace = crossDistributedSpace; } /** Style of empty space caused by row gaps (gap/row-gap). */ public BoxStyle getRowGapSpace() { return rowGapSpace; } /** Style of empty space caused by row gaps (gap/row-gap). */ public void setRowGapSpace(BoxStyle rowGapSpace) { this.rowGapSpace = rowGapSpace; } /** Style of empty space caused by columns gaps (gap/column-gap). */ public BoxStyle getColumnGapSpace() { return columnGapSpace; } /** Style of empty space caused by columns gaps (gap/column-gap). */ public void setColumnGapSpace(BoxStyle columnGapSpace) { this.columnGapSpace = columnGapSpace; } /** Style of the self-alignment line (align-items). */ public LineStyle getCrossAlignment() { return crossAlignment; } /** Style of the self-alignment line (align-items). */ public void setCrossAlignment(LineStyle crossAlignment) { this.crossAlignment = crossAlignment; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/FlexItemHighlightConfig.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Configuration data for the highlighting of Flex item elements. */ public class FlexItemHighlightConfig { @Optional private BoxStyle baseSizeBox; @Optional private LineStyle baseSizeBorder; @Optional private LineStyle flexibilityArrow; /** Style of the box representing the item's base size */ public BoxStyle getBaseSizeBox() { return baseSizeBox; } /** Style of the box representing the item's base size */ public void setBaseSizeBox(BoxStyle baseSizeBox) { this.baseSizeBox = baseSizeBox; } /** Style of the border around the box representing the item's base size */ public LineStyle getBaseSizeBorder() { return baseSizeBorder; } /** Style of the border around the box representing the item's base size */ public void setBaseSizeBorder(LineStyle baseSizeBorder) { this.baseSizeBorder = baseSizeBorder; } /** Style of the arrow representing if the item grew or shrank */ public LineStyle getFlexibilityArrow() { return flexibilityArrow; } /** Style of the arrow representing if the item grew or shrank */ public void setFlexibilityArrow(LineStyle flexibilityArrow) { this.flexibilityArrow = flexibilityArrow; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/FlexNodeHighlightConfig.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ public class FlexNodeHighlightConfig { private FlexContainerHighlightConfig flexContainerHighlightConfig; private Integer nodeId; /** A descriptor for the highlight appearance of flex containers. */ public FlexContainerHighlightConfig getFlexContainerHighlightConfig() { return flexContainerHighlightConfig; } /** A descriptor for the highlight appearance of flex containers. */ public void setFlexContainerHighlightConfig( FlexContainerHighlightConfig flexContainerHighlightConfig) { this.flexContainerHighlightConfig = flexContainerHighlightConfig; } /** Identifier of the node to highlight. */ public Integer getNodeId() { return nodeId; } /** Identifier of the node to highlight. */ public void setNodeId(Integer nodeId) { this.nodeId = nodeId; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/GridHighlightConfig.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.dom.RGBA; /** Configuration data for the highlighting of Grid elements. */ public class GridHighlightConfig { @Optional private Boolean showGridExtensionLines; @Optional private Boolean showPositiveLineNumbers; @Optional private Boolean showNegativeLineNumbers; @Optional private Boolean showAreaNames; @Optional private Boolean showLineNames; @Optional private Boolean showTrackSizes; @Optional private RGBA gridBorderColor; @Deprecated @Optional private RGBA cellBorderColor; @Optional private RGBA rowLineColor; @Optional private RGBA columnLineColor; @Optional private Boolean gridBorderDash; @Deprecated @Optional private Boolean cellBorderDash; @Optional private Boolean rowLineDash; @Optional private Boolean columnLineDash; @Optional private RGBA rowGapColor; @Optional private RGBA rowHatchColor; @Optional private RGBA columnGapColor; @Optional private RGBA columnHatchColor; @Optional private RGBA areaBorderColor; @Optional private RGBA gridBackgroundColor; /** Whether the extension lines from grid cells to the rulers should be shown (default: false). */ public Boolean getShowGridExtensionLines() { return showGridExtensionLines; } /** Whether the extension lines from grid cells to the rulers should be shown (default: false). */ public void setShowGridExtensionLines(Boolean showGridExtensionLines) { this.showGridExtensionLines = showGridExtensionLines; } /** Show Positive line number labels (default: false). */ public Boolean getShowPositiveLineNumbers() { return showPositiveLineNumbers; } /** Show Positive line number labels (default: false). */ public void setShowPositiveLineNumbers(Boolean showPositiveLineNumbers) { this.showPositiveLineNumbers = showPositiveLineNumbers; } /** Show Negative line number labels (default: false). */ public Boolean getShowNegativeLineNumbers() { return showNegativeLineNumbers; } /** Show Negative line number labels (default: false). */ public void setShowNegativeLineNumbers(Boolean showNegativeLineNumbers) { this.showNegativeLineNumbers = showNegativeLineNumbers; } /** Show area name labels (default: false). */ public Boolean getShowAreaNames() { return showAreaNames; } /** Show area name labels (default: false). */ public void setShowAreaNames(Boolean showAreaNames) { this.showAreaNames = showAreaNames; } /** Show line name labels (default: false). */ public Boolean getShowLineNames() { return showLineNames; } /** Show line name labels (default: false). */ public void setShowLineNames(Boolean showLineNames) { this.showLineNames = showLineNames; } /** Show track size labels (default: false). */ public Boolean getShowTrackSizes() { return showTrackSizes; } /** Show track size labels (default: false). */ public void setShowTrackSizes(Boolean showTrackSizes) { this.showTrackSizes = showTrackSizes; } /** The grid container border highlight color (default: transparent). */ public RGBA getGridBorderColor() { return gridBorderColor; } /** The grid container border highlight color (default: transparent). */ public void setGridBorderColor(RGBA gridBorderColor) { this.gridBorderColor = gridBorderColor; } /** * The cell border color (default: transparent). Deprecated, please use rowLineColor and * columnLineColor instead. */ public RGBA getCellBorderColor() { return cellBorderColor; } /** * The cell border color (default: transparent). Deprecated, please use rowLineColor and * columnLineColor instead. */ public void setCellBorderColor(RGBA cellBorderColor) { this.cellBorderColor = cellBorderColor; } /** The row line color (default: transparent). */ public RGBA getRowLineColor() { return rowLineColor; } /** The row line color (default: transparent). */ public void setRowLineColor(RGBA rowLineColor) { this.rowLineColor = rowLineColor; } /** The column line color (default: transparent). */ public RGBA getColumnLineColor() { return columnLineColor; } /** The column line color (default: transparent). */ public void setColumnLineColor(RGBA columnLineColor) { this.columnLineColor = columnLineColor; } /** Whether the grid border is dashed (default: false). */ public Boolean getGridBorderDash() { return gridBorderDash; } /** Whether the grid border is dashed (default: false). */ public void setGridBorderDash(Boolean gridBorderDash) { this.gridBorderDash = gridBorderDash; } /** * Whether the cell border is dashed (default: false). Deprecated, please us rowLineDash and * columnLineDash instead. */ public Boolean getCellBorderDash() { return cellBorderDash; } /** * Whether the cell border is dashed (default: false). Deprecated, please us rowLineDash and * columnLineDash instead. */ public void setCellBorderDash(Boolean cellBorderDash) { this.cellBorderDash = cellBorderDash; } /** Whether row lines are dashed (default: false). */ public Boolean getRowLineDash() { return rowLineDash; } /** Whether row lines are dashed (default: false). */ public void setRowLineDash(Boolean rowLineDash) { this.rowLineDash = rowLineDash; } /** Whether column lines are dashed (default: false). */ public Boolean getColumnLineDash() { return columnLineDash; } /** Whether column lines are dashed (default: false). */ public void setColumnLineDash(Boolean columnLineDash) { this.columnLineDash = columnLineDash; } /** The row gap highlight fill color (default: transparent). */ public RGBA getRowGapColor() { return rowGapColor; } /** The row gap highlight fill color (default: transparent). */ public void setRowGapColor(RGBA rowGapColor) { this.rowGapColor = rowGapColor; } /** The row gap hatching fill color (default: transparent). */ public RGBA getRowHatchColor() { return rowHatchColor; } /** The row gap hatching fill color (default: transparent). */ public void setRowHatchColor(RGBA rowHatchColor) { this.rowHatchColor = rowHatchColor; } /** The column gap highlight fill color (default: transparent). */ public RGBA getColumnGapColor() { return columnGapColor; } /** The column gap highlight fill color (default: transparent). */ public void setColumnGapColor(RGBA columnGapColor) { this.columnGapColor = columnGapColor; } /** The column gap hatching fill color (default: transparent). */ public RGBA getColumnHatchColor() { return columnHatchColor; } /** The column gap hatching fill color (default: transparent). */ public void setColumnHatchColor(RGBA columnHatchColor) { this.columnHatchColor = columnHatchColor; } /** The named grid areas border color (Default: transparent). */ public RGBA getAreaBorderColor() { return areaBorderColor; } /** The named grid areas border color (Default: transparent). */ public void setAreaBorderColor(RGBA areaBorderColor) { this.areaBorderColor = areaBorderColor; } /** The grid container background color (Default: transparent). */ public RGBA getGridBackgroundColor() { return gridBackgroundColor; } /** The grid container background color (Default: transparent). */ public void setGridBackgroundColor(RGBA gridBackgroundColor) { this.gridBackgroundColor = gridBackgroundColor; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/GridNodeHighlightConfig.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Configurations for Persistent Grid Highlight */ public class GridNodeHighlightConfig { private GridHighlightConfig gridHighlightConfig; private Integer nodeId; /** A descriptor for the highlight appearance. */ public GridHighlightConfig getGridHighlightConfig() { return gridHighlightConfig; } /** A descriptor for the highlight appearance. */ public void setGridHighlightConfig(GridHighlightConfig gridHighlightConfig) { this.gridHighlightConfig = gridHighlightConfig; } /** Identifier of the node to highlight. */ public Integer getNodeId() { return nodeId; } /** Identifier of the node to highlight. */ public void setNodeId(Integer nodeId) { this.nodeId = nodeId; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/HighlightConfig.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.dom.RGBA; /** Configuration data for the highlighting of page elements. */ public class HighlightConfig { @Optional private Boolean showInfo; @Optional private Boolean showStyles; @Optional private Boolean showRulers; @Optional private Boolean showAccessibilityInfo; @Optional private Boolean showExtensionLines; @Optional private RGBA contentColor; @Optional private RGBA paddingColor; @Optional private RGBA borderColor; @Optional private RGBA marginColor; @Optional private RGBA eventTargetColor; @Optional private RGBA shapeColor; @Optional private RGBA shapeMarginColor; @Optional private RGBA cssGridColor; @Optional private ColorFormat colorFormat; @Optional private GridHighlightConfig gridHighlightConfig; @Optional private FlexContainerHighlightConfig flexContainerHighlightConfig; @Optional private FlexItemHighlightConfig flexItemHighlightConfig; @Optional private ContrastAlgorithm contrastAlgorithm; @Optional private ContainerQueryContainerHighlightConfig containerQueryContainerHighlightConfig; /** Whether the node info tooltip should be shown (default: false). */ public Boolean getShowInfo() { return showInfo; } /** Whether the node info tooltip should be shown (default: false). */ public void setShowInfo(Boolean showInfo) { this.showInfo = showInfo; } /** Whether the node styles in the tooltip (default: false). */ public Boolean getShowStyles() { return showStyles; } /** Whether the node styles in the tooltip (default: false). */ public void setShowStyles(Boolean showStyles) { this.showStyles = showStyles; } /** Whether the rulers should be shown (default: false). */ public Boolean getShowRulers() { return showRulers; } /** Whether the rulers should be shown (default: false). */ public void setShowRulers(Boolean showRulers) { this.showRulers = showRulers; } /** Whether the a11y info should be shown (default: true). */ public Boolean getShowAccessibilityInfo() { return showAccessibilityInfo; } /** Whether the a11y info should be shown (default: true). */ public void setShowAccessibilityInfo(Boolean showAccessibilityInfo) { this.showAccessibilityInfo = showAccessibilityInfo; } /** Whether the extension lines from node to the rulers should be shown (default: false). */ public Boolean getShowExtensionLines() { return showExtensionLines; } /** Whether the extension lines from node to the rulers should be shown (default: false). */ public void setShowExtensionLines(Boolean showExtensionLines) { this.showExtensionLines = showExtensionLines; } /** The content box highlight fill color (default: transparent). */ public RGBA getContentColor() { return contentColor; } /** The content box highlight fill color (default: transparent). */ public void setContentColor(RGBA contentColor) { this.contentColor = contentColor; } /** The padding highlight fill color (default: transparent). */ public RGBA getPaddingColor() { return paddingColor; } /** The padding highlight fill color (default: transparent). */ public void setPaddingColor(RGBA paddingColor) { this.paddingColor = paddingColor; } /** The border highlight fill color (default: transparent). */ public RGBA getBorderColor() { return borderColor; } /** The border highlight fill color (default: transparent). */ public void setBorderColor(RGBA borderColor) { this.borderColor = borderColor; } /** The margin highlight fill color (default: transparent). */ public RGBA getMarginColor() { return marginColor; } /** The margin highlight fill color (default: transparent). */ public void setMarginColor(RGBA marginColor) { this.marginColor = marginColor; } /** The event target element highlight fill color (default: transparent). */ public RGBA getEventTargetColor() { return eventTargetColor; } /** The event target element highlight fill color (default: transparent). */ public void setEventTargetColor(RGBA eventTargetColor) { this.eventTargetColor = eventTargetColor; } /** The shape outside fill color (default: transparent). */ public RGBA getShapeColor() { return shapeColor; } /** The shape outside fill color (default: transparent). */ public void setShapeColor(RGBA shapeColor) { this.shapeColor = shapeColor; } /** The shape margin fill color (default: transparent). */ public RGBA getShapeMarginColor() { return shapeMarginColor; } /** The shape margin fill color (default: transparent). */ public void setShapeMarginColor(RGBA shapeMarginColor) { this.shapeMarginColor = shapeMarginColor; } /** The grid layout color (default: transparent). */ public RGBA getCssGridColor() { return cssGridColor; } /** The grid layout color (default: transparent). */ public void setCssGridColor(RGBA cssGridColor) { this.cssGridColor = cssGridColor; } /** The color format used to format color styles (default: hex). */ public ColorFormat getColorFormat() { return colorFormat; } /** The color format used to format color styles (default: hex). */ public void setColorFormat(ColorFormat colorFormat) { this.colorFormat = colorFormat; } /** The grid layout highlight configuration (default: all transparent). */ public GridHighlightConfig getGridHighlightConfig() { return gridHighlightConfig; } /** The grid layout highlight configuration (default: all transparent). */ public void setGridHighlightConfig(GridHighlightConfig gridHighlightConfig) { this.gridHighlightConfig = gridHighlightConfig; } /** The flex container highlight configuration (default: all transparent). */ public FlexContainerHighlightConfig getFlexContainerHighlightConfig() { return flexContainerHighlightConfig; } /** The flex container highlight configuration (default: all transparent). */ public void setFlexContainerHighlightConfig( FlexContainerHighlightConfig flexContainerHighlightConfig) { this.flexContainerHighlightConfig = flexContainerHighlightConfig; } /** The flex item highlight configuration (default: all transparent). */ public FlexItemHighlightConfig getFlexItemHighlightConfig() { return flexItemHighlightConfig; } /** The flex item highlight configuration (default: all transparent). */ public void setFlexItemHighlightConfig(FlexItemHighlightConfig flexItemHighlightConfig) { this.flexItemHighlightConfig = flexItemHighlightConfig; } /** The contrast algorithm to use for the contrast ratio (default: aa). */ public ContrastAlgorithm getContrastAlgorithm() { return contrastAlgorithm; } /** The contrast algorithm to use for the contrast ratio (default: aa). */ public void setContrastAlgorithm(ContrastAlgorithm contrastAlgorithm) { this.contrastAlgorithm = contrastAlgorithm; } /** The container query container highlight configuration (default: all transparent). */ public ContainerQueryContainerHighlightConfig getContainerQueryContainerHighlightConfig() { return containerQueryContainerHighlightConfig; } /** The container query container highlight configuration (default: all transparent). */ public void setContainerQueryContainerHighlightConfig( ContainerQueryContainerHighlightConfig containerQueryContainerHighlightConfig) { this.containerQueryContainerHighlightConfig = containerQueryContainerHighlightConfig; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/HingeConfig.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.dom.RGBA; import com.github.kklisura.cdt.protocol.v2023.types.dom.Rect; /** Configuration for dual screen hinge */ public class HingeConfig { private Rect rect; @Optional private RGBA contentColor; @Optional private RGBA outlineColor; /** A rectangle represent hinge */ public Rect getRect() { return rect; } /** A rectangle represent hinge */ public void setRect(Rect rect) { this.rect = rect; } /** The content box highlight fill color (default: a dark color). */ public RGBA getContentColor() { return contentColor; } /** The content box highlight fill color (default: a dark color). */ public void setContentColor(RGBA contentColor) { this.contentColor = contentColor; } /** The content box highlight outline color (default: transparent). */ public RGBA getOutlineColor() { return outlineColor; } /** The content box highlight outline color (default: transparent). */ public void setOutlineColor(RGBA outlineColor) { this.outlineColor = outlineColor; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/InspectMode.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum InspectMode { @JsonProperty("searchForNode") SEARCH_FOR_NODE, @JsonProperty("searchForUAShadowDOM") SEARCH_FOR_UA_SHADOW_DOM, @JsonProperty("captureAreaScreenshot") CAPTURE_AREA_SCREENSHOT, @JsonProperty("showDistances") SHOW_DISTANCES, @JsonProperty("none") NONE }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/IsolatedElementHighlightConfig.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ public class IsolatedElementHighlightConfig { private IsolationModeHighlightConfig isolationModeHighlightConfig; private Integer nodeId; /** A descriptor for the highlight appearance of an element in isolation mode. */ public IsolationModeHighlightConfig getIsolationModeHighlightConfig() { return isolationModeHighlightConfig; } /** A descriptor for the highlight appearance of an element in isolation mode. */ public void setIsolationModeHighlightConfig( IsolationModeHighlightConfig isolationModeHighlightConfig) { this.isolationModeHighlightConfig = isolationModeHighlightConfig; } /** Identifier of the isolated element to highlight. */ public Integer getNodeId() { return nodeId; } /** Identifier of the isolated element to highlight. */ public void setNodeId(Integer nodeId) { this.nodeId = nodeId; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/IsolationModeHighlightConfig.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.dom.RGBA; public class IsolationModeHighlightConfig { @Optional private RGBA resizerColor; @Optional private RGBA resizerHandleColor; @Optional private RGBA maskColor; /** The fill color of the resizers (default: transparent). */ public RGBA getResizerColor() { return resizerColor; } /** The fill color of the resizers (default: transparent). */ public void setResizerColor(RGBA resizerColor) { this.resizerColor = resizerColor; } /** The fill color for resizer handles (default: transparent). */ public RGBA getResizerHandleColor() { return resizerHandleColor; } /** The fill color for resizer handles (default: transparent). */ public void setResizerHandleColor(RGBA resizerHandleColor) { this.resizerHandleColor = resizerHandleColor; } /** The fill color for the mask covering non-isolated elements (default: transparent). */ public RGBA getMaskColor() { return maskColor; } /** The fill color for the mask covering non-isolated elements (default: transparent). */ public void setMaskColor(RGBA maskColor) { this.maskColor = maskColor; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/LineStyle.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.dom.RGBA; /** Style information for drawing a line. */ public class LineStyle { @Optional private RGBA color; @Optional private LineStylePattern pattern; /** The color of the line (default: transparent) */ public RGBA getColor() { return color; } /** The color of the line (default: transparent) */ public void setColor(RGBA color) { this.color = color; } /** The line pattern (default: solid) */ public LineStylePattern getPattern() { return pattern; } /** The line pattern (default: solid) */ public void setPattern(LineStylePattern pattern) { this.pattern = pattern; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/LineStylePattern.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** The line pattern (default: solid) */ public enum LineStylePattern { @JsonProperty("dashed") DASHED, @JsonProperty("dotted") DOTTED }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/ScrollSnapContainerHighlightConfig.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.dom.RGBA; public class ScrollSnapContainerHighlightConfig { @Optional private LineStyle snapportBorder; @Optional private LineStyle snapAreaBorder; @Optional private RGBA scrollMarginColor; @Optional private RGBA scrollPaddingColor; /** The style of the snapport border (default: transparent) */ public LineStyle getSnapportBorder() { return snapportBorder; } /** The style of the snapport border (default: transparent) */ public void setSnapportBorder(LineStyle snapportBorder) { this.snapportBorder = snapportBorder; } /** The style of the snap area border (default: transparent) */ public LineStyle getSnapAreaBorder() { return snapAreaBorder; } /** The style of the snap area border (default: transparent) */ public void setSnapAreaBorder(LineStyle snapAreaBorder) { this.snapAreaBorder = snapAreaBorder; } /** The margin highlight fill color (default: transparent). */ public RGBA getScrollMarginColor() { return scrollMarginColor; } /** The margin highlight fill color (default: transparent). */ public void setScrollMarginColor(RGBA scrollMarginColor) { this.scrollMarginColor = scrollMarginColor; } /** The padding highlight fill color (default: transparent). */ public RGBA getScrollPaddingColor() { return scrollPaddingColor; } /** The padding highlight fill color (default: transparent). */ public void setScrollPaddingColor(RGBA scrollPaddingColor) { this.scrollPaddingColor = scrollPaddingColor; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/ScrollSnapHighlightConfig.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ public class ScrollSnapHighlightConfig { private ScrollSnapContainerHighlightConfig scrollSnapContainerHighlightConfig; private Integer nodeId; /** A descriptor for the highlight appearance of scroll snap containers. */ public ScrollSnapContainerHighlightConfig getScrollSnapContainerHighlightConfig() { return scrollSnapContainerHighlightConfig; } /** A descriptor for the highlight appearance of scroll snap containers. */ public void setScrollSnapContainerHighlightConfig( ScrollSnapContainerHighlightConfig scrollSnapContainerHighlightConfig) { this.scrollSnapContainerHighlightConfig = scrollSnapContainerHighlightConfig; } /** Identifier of the node to highlight. */ public Integer getNodeId() { return nodeId; } /** Identifier of the node to highlight. */ public void setNodeId(Integer nodeId) { this.nodeId = nodeId; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/overlay/SourceOrderConfig.java
package com.github.kklisura.cdt.protocol.v2023.types.overlay; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.types.dom.RGBA; /** Configuration data for drawing the source order of an elements children. */ public class SourceOrderConfig { private RGBA parentOutlineColor; private RGBA childOutlineColor; /** the color to outline the givent element in. */ public RGBA getParentOutlineColor() { return parentOutlineColor; } /** the color to outline the givent element in. */ public void setParentOutlineColor(RGBA parentOutlineColor) { this.parentOutlineColor = parentOutlineColor; } /** the color to outline the child elements in. */ public RGBA getChildOutlineColor() { return childOutlineColor; } /** the color to outline the child elements in. */ public void setChildOutlineColor(RGBA childOutlineColor) { this.childOutlineColor = childOutlineColor; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/AdFrameExplanation.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum AdFrameExplanation { @JsonProperty("ParentIsAd") PARENT_IS_AD, @JsonProperty("CreatedByAdScript") CREATED_BY_AD_SCRIPT, @JsonProperty("MatchedBlockingRule") MATCHED_BLOCKING_RULE }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/AdFrameStatus.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** Indicates whether a frame has been identified as an ad and why. */ @Experimental public class AdFrameStatus { private AdFrameType adFrameType; @Optional private List<AdFrameExplanation> explanations; public AdFrameType getAdFrameType() { return adFrameType; } public void setAdFrameType(AdFrameType adFrameType) { this.adFrameType = adFrameType; } public List<AdFrameExplanation> getExplanations() { return explanations; } public void setExplanations(List<AdFrameExplanation> explanations) { this.explanations = explanations; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/AdFrameType.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Indicates whether a frame has been identified as an ad. */ public enum AdFrameType { @JsonProperty("none") NONE, @JsonProperty("child") CHILD, @JsonProperty("root") ROOT }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/AdScriptId.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; /** Identifies the bottom-most script which caused the frame to be labelled as an ad. */ @Experimental public class AdScriptId { private String scriptId; private String debuggerId; /** Script Id of the bottom-most script which caused the frame to be labelled as an ad. */ public String getScriptId() { return scriptId; } /** Script Id of the bottom-most script which caused the frame to be labelled as an ad. */ public void setScriptId(String scriptId) { this.scriptId = scriptId; } /** Id of adScriptId's debugger. */ public String getDebuggerId() { return debuggerId; } /** Id of adScriptId's debugger. */ public void setDebuggerId(String debuggerId) { this.debuggerId = debuggerId; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/AppId.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; public class AppId { @Optional private String appId; @Optional private String recommendedId; /** App id, either from manifest's id attribute or computed from start_url */ public String getAppId() { return appId; } /** App id, either from manifest's id attribute or computed from start_url */ public void setAppId(String appId) { this.appId = appId; } /** Recommendation for manifest's id attribute to match current id computed from start_url */ public String getRecommendedId() { return recommendedId; } /** Recommendation for manifest's id attribute to match current id computed from start_url */ public void setRecommendedId(String recommendedId) { this.recommendedId = recommendedId; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/AppManifest.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; public class AppManifest { private String url; private List<AppManifestError> errors; @Optional private String data; @Experimental @Optional private AppManifestParsedProperties parsed; /** Manifest location. */ public String getUrl() { return url; } /** Manifest location. */ public void setUrl(String url) { this.url = url; } public List<AppManifestError> getErrors() { return errors; } public void setErrors(List<AppManifestError> errors) { this.errors = errors; } /** Manifest content. */ public String getData() { return data; } /** Manifest content. */ public void setData(String data) { this.data = data; } /** Parsed manifest properties */ public AppManifestParsedProperties getParsed() { return parsed; } /** Parsed manifest properties */ public void setParsed(AppManifestParsedProperties parsed) { this.parsed = parsed; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/AppManifestError.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Error while paring app manifest. */ public class AppManifestError { private String message; private Integer critical; private Integer line; private Integer column; /** Error message. */ public String getMessage() { return message; } /** Error message. */ public void setMessage(String message) { this.message = message; } /** If criticial, this is a non-recoverable parse error. */ public Integer getCritical() { return critical; } /** If criticial, this is a non-recoverable parse error. */ public void setCritical(Integer critical) { this.critical = critical; } /** Error line. */ public Integer getLine() { return line; } /** Error line. */ public void setLine(Integer line) { this.line = line; } /** Error column. */ public Integer getColumn() { return column; } /** Error column. */ public void setColumn(Integer column) { this.column = column; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/AppManifestParsedProperties.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; /** Parsed app manifest properties. */ @Experimental public class AppManifestParsedProperties { private String scope; /** Computed scope value */ public String getScope() { return scope; } /** Computed scope value */ public void setScope(String scope) { this.scope = scope; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/AutoResponseMode.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Enum of possible auto-reponse for permisison / prompt dialogs. */ public enum AutoResponseMode { @JsonProperty("none") NONE, @JsonProperty("autoAccept") AUTO_ACCEPT, @JsonProperty("autoReject") AUTO_REJECT, @JsonProperty("autoOptOut") AUTO_OPT_OUT }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/BackForwardCacheNotRestoredExplanation.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; @Experimental public class BackForwardCacheNotRestoredExplanation { private BackForwardCacheNotRestoredReasonType type; private BackForwardCacheNotRestoredReason reason; @Optional private String context; /** Type of the reason */ public BackForwardCacheNotRestoredReasonType getType() { return type; } /** Type of the reason */ public void setType(BackForwardCacheNotRestoredReasonType type) { this.type = type; } /** Not restored reason */ public BackForwardCacheNotRestoredReason getReason() { return reason; } /** Not restored reason */ public void setReason(BackForwardCacheNotRestoredReason reason) { this.reason = reason; } /** * Context associated with the reason. The meaning of this context is dependent on the reason: - * EmbedderExtensionSentMessageToCachedFrame: the extension ID. */ public String getContext() { return context; } /** * Context associated with the reason. The meaning of this context is dependent on the reason: - * EmbedderExtensionSentMessageToCachedFrame: the extension ID. */ public void setContext(String context) { this.context = context; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/BackForwardCacheNotRestoredExplanationTree.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import java.util.List; @Experimental public class BackForwardCacheNotRestoredExplanationTree { private String url; private List<BackForwardCacheNotRestoredExplanation> explanations; private List<BackForwardCacheNotRestoredExplanationTree> children; /** URL of each frame */ public String getUrl() { return url; } /** URL of each frame */ public void setUrl(String url) { this.url = url; } /** Not restored reasons of each frame */ public List<BackForwardCacheNotRestoredExplanation> getExplanations() { return explanations; } /** Not restored reasons of each frame */ public void setExplanations(List<BackForwardCacheNotRestoredExplanation> explanations) { this.explanations = explanations; } /** Array of children frame */ public List<BackForwardCacheNotRestoredExplanationTree> getChildren() { return children; } /** Array of children frame */ public void setChildren(List<BackForwardCacheNotRestoredExplanationTree> children) { this.children = children; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/BackForwardCacheNotRestoredReason.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** List of not restored reasons for back-forward cache. */ public enum BackForwardCacheNotRestoredReason { @JsonProperty("NotPrimaryMainFrame") NOT_PRIMARY_MAIN_FRAME, @JsonProperty("BackForwardCacheDisabled") BACK_FORWARD_CACHE_DISABLED, @JsonProperty("RelatedActiveContentsExist") RELATED_ACTIVE_CONTENTS_EXIST, @JsonProperty("HTTPStatusNotOK") HTTP_STATUS_NOT_OK, @JsonProperty("SchemeNotHTTPOrHTTPS") SCHEME_NOT_HTTP_OR_HTTPS, @JsonProperty("Loading") LOADING, @JsonProperty("WasGrantedMediaAccess") WAS_GRANTED_MEDIA_ACCESS, @JsonProperty("DisableForRenderFrameHostCalled") DISABLE_FOR_RENDER_FRAME_HOST_CALLED, @JsonProperty("DomainNotAllowed") DOMAIN_NOT_ALLOWED, @JsonProperty("HTTPMethodNotGET") HTTP_METHOD_NOT_GET, @JsonProperty("SubframeIsNavigating") SUBFRAME_IS_NAVIGATING, @JsonProperty("Timeout") TIMEOUT, @JsonProperty("CacheLimit") CACHE_LIMIT, @JsonProperty("JavaScriptExecution") JAVA_SCRIPT_EXECUTION, @JsonProperty("RendererProcessKilled") RENDERER_PROCESS_KILLED, @JsonProperty("RendererProcessCrashed") RENDERER_PROCESS_CRASHED, @JsonProperty("SchedulerTrackedFeatureUsed") SCHEDULER_TRACKED_FEATURE_USED, @JsonProperty("ConflictingBrowsingInstance") CONFLICTING_BROWSING_INSTANCE, @JsonProperty("CacheFlushed") CACHE_FLUSHED, @JsonProperty("ServiceWorkerVersionActivation") SERVICE_WORKER_VERSION_ACTIVATION, @JsonProperty("SessionRestored") SESSION_RESTORED, @JsonProperty("ServiceWorkerPostMessage") SERVICE_WORKER_POST_MESSAGE, @JsonProperty("EnteredBackForwardCacheBeforeServiceWorkerHostAdded") ENTERED_BACK_FORWARD_CACHE_BEFORE_SERVICE_WORKER_HOST_ADDED, @JsonProperty("RenderFrameHostReused_SameSite") RENDER_FRAME_HOST_REUSED_SAME_SITE, @JsonProperty("RenderFrameHostReused_CrossSite") RENDER_FRAME_HOST_REUSED_CROSS_SITE, @JsonProperty("ServiceWorkerClaim") SERVICE_WORKER_CLAIM, @JsonProperty("IgnoreEventAndEvict") IGNORE_EVENT_AND_EVICT, @JsonProperty("HaveInnerContents") HAVE_INNER_CONTENTS, @JsonProperty("TimeoutPuttingInCache") TIMEOUT_PUTTING_IN_CACHE, @JsonProperty("BackForwardCacheDisabledByLowMemory") BACK_FORWARD_CACHE_DISABLED_BY_LOW_MEMORY, @JsonProperty("BackForwardCacheDisabledByCommandLine") BACK_FORWARD_CACHE_DISABLED_BY_COMMAND_LINE, @JsonProperty("NetworkRequestDatapipeDrainedAsBytesConsumer") NETWORK_REQUEST_DATAPIPE_DRAINED_AS_BYTES_CONSUMER, @JsonProperty("NetworkRequestRedirected") NETWORK_REQUEST_REDIRECTED, @JsonProperty("NetworkRequestTimeout") NETWORK_REQUEST_TIMEOUT, @JsonProperty("NetworkExceedsBufferLimit") NETWORK_EXCEEDS_BUFFER_LIMIT, @JsonProperty("NavigationCancelledWhileRestoring") NAVIGATION_CANCELLED_WHILE_RESTORING, @JsonProperty("NotMostRecentNavigationEntry") NOT_MOST_RECENT_NAVIGATION_ENTRY, @JsonProperty("BackForwardCacheDisabledForPrerender") BACK_FORWARD_CACHE_DISABLED_FOR_PRERENDER, @JsonProperty("UserAgentOverrideDiffers") USER_AGENT_OVERRIDE_DIFFERS, @JsonProperty("ForegroundCacheLimit") FOREGROUND_CACHE_LIMIT, @JsonProperty("BrowsingInstanceNotSwapped") BROWSING_INSTANCE_NOT_SWAPPED, @JsonProperty("BackForwardCacheDisabledForDelegate") BACK_FORWARD_CACHE_DISABLED_FOR_DELEGATE, @JsonProperty("UnloadHandlerExistsInMainFrame") UNLOAD_HANDLER_EXISTS_IN_MAIN_FRAME, @JsonProperty("UnloadHandlerExistsInSubFrame") UNLOAD_HANDLER_EXISTS_IN_SUB_FRAME, @JsonProperty("ServiceWorkerUnregistration") SERVICE_WORKER_UNREGISTRATION, @JsonProperty("CacheControlNoStore") CACHE_CONTROL_NO_STORE, @JsonProperty("CacheControlNoStoreCookieModified") CACHE_CONTROL_NO_STORE_COOKIE_MODIFIED, @JsonProperty("CacheControlNoStoreHTTPOnlyCookieModified") CACHE_CONTROL_NO_STORE_HTTP_ONLY_COOKIE_MODIFIED, @JsonProperty("NoResponseHead") NO_RESPONSE_HEAD, @JsonProperty("Unknown") UNKNOWN, @JsonProperty("ActivationNavigationsDisallowedForBug1234857") ACTIVATION_NAVIGATIONS_DISALLOWED_FOR_BUG_1234857, @JsonProperty("ErrorDocument") ERROR_DOCUMENT, @JsonProperty("FencedFramesEmbedder") FENCED_FRAMES_EMBEDDER, @JsonProperty("CookieDisabled") COOKIE_DISABLED, @JsonProperty("HTTPAuthRequired") HTTP_AUTH_REQUIRED, @JsonProperty("CookieFlushed") COOKIE_FLUSHED, @JsonProperty("WebSocket") WEB_SOCKET, @JsonProperty("WebTransport") WEB_TRANSPORT, @JsonProperty("WebRTC") WEB_RTC, @JsonProperty("MainResourceHasCacheControlNoStore") MAIN_RESOURCE_HAS_CACHE_CONTROL_NO_STORE, @JsonProperty("MainResourceHasCacheControlNoCache") MAIN_RESOURCE_HAS_CACHE_CONTROL_NO_CACHE, @JsonProperty("SubresourceHasCacheControlNoStore") SUBRESOURCE_HAS_CACHE_CONTROL_NO_STORE, @JsonProperty("SubresourceHasCacheControlNoCache") SUBRESOURCE_HAS_CACHE_CONTROL_NO_CACHE, @JsonProperty("ContainsPlugins") CONTAINS_PLUGINS, @JsonProperty("DocumentLoaded") DOCUMENT_LOADED, @JsonProperty("DedicatedWorkerOrWorklet") DEDICATED_WORKER_OR_WORKLET, @JsonProperty("OutstandingNetworkRequestOthers") OUTSTANDING_NETWORK_REQUEST_OTHERS, @JsonProperty("RequestedMIDIPermission") REQUESTED_MIDI_PERMISSION, @JsonProperty("RequestedAudioCapturePermission") REQUESTED_AUDIO_CAPTURE_PERMISSION, @JsonProperty("RequestedVideoCapturePermission") REQUESTED_VIDEO_CAPTURE_PERMISSION, @JsonProperty("RequestedBackForwardCacheBlockedSensors") REQUESTED_BACK_FORWARD_CACHE_BLOCKED_SENSORS, @JsonProperty("RequestedBackgroundWorkPermission") REQUESTED_BACKGROUND_WORK_PERMISSION, @JsonProperty("BroadcastChannel") BROADCAST_CHANNEL, @JsonProperty("WebXR") WEB_XR, @JsonProperty("SharedWorker") SHARED_WORKER, @JsonProperty("WebLocks") WEB_LOCKS, @JsonProperty("WebHID") WEB_HID, @JsonProperty("WebShare") WEB_SHARE, @JsonProperty("RequestedStorageAccessGrant") REQUESTED_STORAGE_ACCESS_GRANT, @JsonProperty("WebNfc") WEB_NFC, @JsonProperty("OutstandingNetworkRequestFetch") OUTSTANDING_NETWORK_REQUEST_FETCH, @JsonProperty("OutstandingNetworkRequestXHR") OUTSTANDING_NETWORK_REQUEST_XHR, @JsonProperty("AppBanner") APP_BANNER, @JsonProperty("Printing") PRINTING, @JsonProperty("WebDatabase") WEB_DATABASE, @JsonProperty("PictureInPicture") PICTURE_IN_PICTURE, @JsonProperty("Portal") PORTAL, @JsonProperty("SpeechRecognizer") SPEECH_RECOGNIZER, @JsonProperty("IdleManager") IDLE_MANAGER, @JsonProperty("PaymentManager") PAYMENT_MANAGER, @JsonProperty("SpeechSynthesis") SPEECH_SYNTHESIS, @JsonProperty("KeyboardLock") KEYBOARD_LOCK, @JsonProperty("WebOTPService") WEB_OTP_SERVICE, @JsonProperty("OutstandingNetworkRequestDirectSocket") OUTSTANDING_NETWORK_REQUEST_DIRECT_SOCKET, @JsonProperty("InjectedJavascript") INJECTED_JAVASCRIPT, @JsonProperty("InjectedStyleSheet") INJECTED_STYLE_SHEET, @JsonProperty("KeepaliveRequest") KEEPALIVE_REQUEST, @JsonProperty("IndexedDBEvent") INDEXED_DB_EVENT, @JsonProperty("Dummy") DUMMY, @JsonProperty("JsNetworkRequestReceivedCacheControlNoStoreResource") JS_NETWORK_REQUEST_RECEIVED_CACHE_CONTROL_NO_STORE_RESOURCE, @JsonProperty("WebRTCSticky") WEB_RTC_STICKY, @JsonProperty("WebTransportSticky") WEB_TRANSPORT_STICKY, @JsonProperty("WebSocketSticky") WEB_SOCKET_STICKY, @JsonProperty("ContentSecurityHandler") CONTENT_SECURITY_HANDLER, @JsonProperty("ContentWebAuthenticationAPI") CONTENT_WEB_AUTHENTICATION_API, @JsonProperty("ContentFileChooser") CONTENT_FILE_CHOOSER, @JsonProperty("ContentSerial") CONTENT_SERIAL, @JsonProperty("ContentFileSystemAccess") CONTENT_FILE_SYSTEM_ACCESS, @JsonProperty("ContentMediaDevicesDispatcherHost") CONTENT_MEDIA_DEVICES_DISPATCHER_HOST, @JsonProperty("ContentWebBluetooth") CONTENT_WEB_BLUETOOTH, @JsonProperty("ContentWebUSB") CONTENT_WEB_USB, @JsonProperty("ContentMediaSessionService") CONTENT_MEDIA_SESSION_SERVICE, @JsonProperty("ContentScreenReader") CONTENT_SCREEN_READER, @JsonProperty("EmbedderPopupBlockerTabHelper") EMBEDDER_POPUP_BLOCKER_TAB_HELPER, @JsonProperty("EmbedderSafeBrowsingTriggeredPopupBlocker") EMBEDDER_SAFE_BROWSING_TRIGGERED_POPUP_BLOCKER, @JsonProperty("EmbedderSafeBrowsingThreatDetails") EMBEDDER_SAFE_BROWSING_THREAT_DETAILS, @JsonProperty("EmbedderAppBannerManager") EMBEDDER_APP_BANNER_MANAGER, @JsonProperty("EmbedderDomDistillerViewerSource") EMBEDDER_DOM_DISTILLER_VIEWER_SOURCE, @JsonProperty("EmbedderDomDistillerSelfDeletingRequestDelegate") EMBEDDER_DOM_DISTILLER_SELF_DELETING_REQUEST_DELEGATE, @JsonProperty("EmbedderOomInterventionTabHelper") EMBEDDER_OOM_INTERVENTION_TAB_HELPER, @JsonProperty("EmbedderOfflinePage") EMBEDDER_OFFLINE_PAGE, @JsonProperty("EmbedderChromePasswordManagerClientBindCredentialManager") EMBEDDER_CHROME_PASSWORD_MANAGER_CLIENT_BIND_CREDENTIAL_MANAGER, @JsonProperty("EmbedderPermissionRequestManager") EMBEDDER_PERMISSION_REQUEST_MANAGER, @JsonProperty("EmbedderModalDialog") EMBEDDER_MODAL_DIALOG, @JsonProperty("EmbedderExtensions") EMBEDDER_EXTENSIONS, @JsonProperty("EmbedderExtensionMessaging") EMBEDDER_EXTENSION_MESSAGING, @JsonProperty("EmbedderExtensionMessagingForOpenPort") EMBEDDER_EXTENSION_MESSAGING_FOR_OPEN_PORT, @JsonProperty("EmbedderExtensionSentMessageToCachedFrame") EMBEDDER_EXTENSION_SENT_MESSAGE_TO_CACHED_FRAME }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/BackForwardCacheNotRestoredReasonType.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Types of not restored reasons for back-forward cache. */ public enum BackForwardCacheNotRestoredReasonType { @JsonProperty("SupportPending") SUPPORT_PENDING, @JsonProperty("PageSupportNeeded") PAGE_SUPPORT_NEEDED, @JsonProperty("Circumstantial") CIRCUMSTANTIAL }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/CaptureScreenshotFormat.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Image compression format (defaults to png). */ public enum CaptureScreenshotFormat { @JsonProperty("jpeg") JPEG, @JsonProperty("png") PNG, @JsonProperty("webp") WEBP }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/CaptureSnapshotFormat.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Format (defaults to mhtml). */ public enum CaptureSnapshotFormat { @JsonProperty("mhtml") MHTML }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/ClientNavigationDisposition.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum ClientNavigationDisposition { @JsonProperty("currentTab") CURRENT_TAB, @JsonProperty("newTab") NEW_TAB, @JsonProperty("newWindow") NEW_WINDOW, @JsonProperty("download") DOWNLOAD }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/ClientNavigationReason.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum ClientNavigationReason { @JsonProperty("formSubmissionGet") FORM_SUBMISSION_GET, @JsonProperty("formSubmissionPost") FORM_SUBMISSION_POST, @JsonProperty("httpHeaderRefresh") HTTP_HEADER_REFRESH, @JsonProperty("scriptInitiated") SCRIPT_INITIATED, @JsonProperty("metaTagRefresh") META_TAG_REFRESH, @JsonProperty("pageBlockInterstitial") PAGE_BLOCK_INTERSTITIAL, @JsonProperty("reload") RELOAD, @JsonProperty("anchorClick") ANCHOR_CLICK }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/CompilationCacheParams.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Per-script compilation cache parameters for `Page.produceCompilationCache` */ @Experimental public class CompilationCacheParams { private String url; @Optional private Boolean eager; /** The URL of the script to produce a compilation cache entry for. */ public String getUrl() { return url; } /** The URL of the script to produce a compilation cache entry for. */ public void setUrl(String url) { this.url = url; } /** * A hint to the backend whether eager compilation is recommended. (the actual compilation mode * used is upon backend discretion). */ public Boolean getEager() { return eager; } /** * A hint to the backend whether eager compilation is recommended. (the actual compilation mode * used is upon backend discretion). */ public void setEager(Boolean eager) { this.eager = eager; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/CrossOriginIsolatedContextType.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Indicates whether the frame is cross-origin isolated and why it is the case. */ public enum CrossOriginIsolatedContextType { @JsonProperty("Isolated") ISOLATED, @JsonProperty("NotIsolated") NOT_ISOLATED, @JsonProperty("NotIsolatedFeatureDisabled") NOT_ISOLATED_FEATURE_DISABLED }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/DialogType.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Javascript dialog type. */ public enum DialogType { @JsonProperty("alert") ALERT, @JsonProperty("confirm") CONFIRM, @JsonProperty("prompt") PROMPT, @JsonProperty("beforeunload") BEFOREUNLOAD }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/FontFamilies.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Generic font families collection. */ @Experimental public class FontFamilies { @Optional private String standard; @Optional private String fixed; @Optional private String serif; @Optional private String sansSerif; @Optional private String cursive; @Optional private String fantasy; @Optional private String math; /** The standard font-family. */ public String getStandard() { return standard; } /** The standard font-family. */ public void setStandard(String standard) { this.standard = standard; } /** The fixed font-family. */ public String getFixed() { return fixed; } /** The fixed font-family. */ public void setFixed(String fixed) { this.fixed = fixed; } /** The serif font-family. */ public String getSerif() { return serif; } /** The serif font-family. */ public void setSerif(String serif) { this.serif = serif; } /** The sansSerif font-family. */ public String getSansSerif() { return sansSerif; } /** The sansSerif font-family. */ public void setSansSerif(String sansSerif) { this.sansSerif = sansSerif; } /** The cursive font-family. */ public String getCursive() { return cursive; } /** The cursive font-family. */ public void setCursive(String cursive) { this.cursive = cursive; } /** The fantasy font-family. */ public String getFantasy() { return fantasy; } /** The fantasy font-family. */ public void setFantasy(String fantasy) { this.fantasy = fantasy; } /** The math font-family. */ public String getMath() { return math; } /** The math font-family. */ public void setMath(String math) { this.math = math; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/page/FontSizes.java
package com.github.kklisura.cdt.protocol.v2023.types.page; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Default font sizes. */ @Experimental public class FontSizes { @Optional private Integer standard; @Optional private Integer fixed; /** Default standard font size. */ public Integer getStandard() { return standard; } /** Default standard font size. */ public void setStandard(Integer standard) { this.standard = standard; } /** Default fixed font size. */ public Integer getFixed() { return fixed; } /** Default fixed font size. */ public void setFixed(Integer fixed) { this.fixed = fixed; } }