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/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/LoadingFailed.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.network.BlockedReason;
import com.github.kklisura.cdt.protocol.v2023.types.network.CorsErrorStatus;
import com.github.kklisura.cdt.protocol.v2023.types.network.ResourceType;
/** Fired when HTTP request has failed to load. */
public class LoadingFailed {
private String requestId;
private Double timestamp;
private ResourceType type;
private String errorText;
@Optional
private Boolean canceled;
@Optional private BlockedReason blockedReason;
@Optional private CorsErrorStatus corsErrorStatus;
/** Request identifier. */
public String getRequestId() {
return requestId;
}
/** Request identifier. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/** Timestamp. */
public Double getTimestamp() {
return timestamp;
}
/** Timestamp. */
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
/** Resource type. */
public ResourceType getType() {
return type;
}
/** Resource type. */
public void setType(ResourceType type) {
this.type = type;
}
/** User friendly error message. */
public String getErrorText() {
return errorText;
}
/** User friendly error message. */
public void setErrorText(String errorText) {
this.errorText = errorText;
}
/** True if loading was canceled. */
public Boolean getCanceled() {
return canceled;
}
/** True if loading was canceled. */
public void setCanceled(Boolean canceled) {
this.canceled = canceled;
}
/** The reason why loading was blocked, if any. */
public BlockedReason getBlockedReason() {
return blockedReason;
}
/** The reason why loading was blocked, if any. */
public void setBlockedReason(BlockedReason blockedReason) {
this.blockedReason = blockedReason;
}
/** The reason why loading was blocked by CORS, if any. */
public CorsErrorStatus getCorsErrorStatus() {
return corsErrorStatus;
}
/** The reason why loading was blocked by CORS, if any. */
public void setCorsErrorStatus(CorsErrorStatus corsErrorStatus) {
this.corsErrorStatus = corsErrorStatus;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/LoadingFinished.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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%
*/
/** Fired when HTTP request has finished loading. */
public class LoadingFinished {
private String requestId;
private Double timestamp;
private Double encodedDataLength;
/** Request identifier. */
public String getRequestId() {
return requestId;
}
/** Request identifier. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/** Timestamp. */
public Double getTimestamp() {
return timestamp;
}
/** Timestamp. */
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
/** Total number of bytes received for this request. */
public Double getEncodedDataLength() {
return encodedDataLength;
}
/** Total number of bytes received for this request. */
public void setEncodedDataLength(Double encodedDataLength) {
this.encodedDataLength = encodedDataLength;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/ReportingApiEndpointsChangedForOrigin.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.types.network.ReportingApiEndpoint;
import java.util.List;
@Experimental
public class ReportingApiEndpointsChangedForOrigin {
private String origin;
private List<ReportingApiEndpoint> endpoints;
/** Origin of the document(s) which configured the endpoints. */
public String getOrigin() {
return origin;
}
/** Origin of the document(s) which configured the endpoints. */
public void setOrigin(String origin) {
this.origin = origin;
}
public List<ReportingApiEndpoint> getEndpoints() {
return endpoints;
}
public void setEndpoints(List<ReportingApiEndpoint> endpoints) {
this.endpoints = endpoints;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/ReportingApiReportAdded.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.types.network.ReportingApiReport;
/**
* Is sent whenever a new report is added. And after 'enableReportingApi' for all existing reports.
*/
@Experimental
public class ReportingApiReportAdded {
private ReportingApiReport report;
public ReportingApiReport getReport() {
return report;
}
public void setReport(ReportingApiReport report) {
this.report = report;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/ReportingApiReportUpdated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.types.network.ReportingApiReport;
@Experimental
public class ReportingApiReportUpdated {
private ReportingApiReport report;
public ReportingApiReport getReport() {
return report;
}
public void setReport(ReportingApiReport report) {
this.report = report;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/RequestIntercepted.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.network.AuthChallenge;
import com.github.kklisura.cdt.protocol.v2023.types.network.ErrorReason;
import com.github.kklisura.cdt.protocol.v2023.types.network.Request;
import com.github.kklisura.cdt.protocol.v2023.types.network.ResourceType;
import java.util.Map;
/**
* Details of an intercepted HTTP request, which must be either allowed, blocked, modified or
* mocked. Deprecated, use Fetch.requestPaused instead.
*/
@Experimental
@Deprecated
public class RequestIntercepted {
private String interceptionId;
private Request request;
private String frameId;
private ResourceType resourceType;
private Boolean isNavigationRequest;
@Optional
private Boolean isDownload;
@Optional private String redirectUrl;
@Optional private AuthChallenge authChallenge;
@Optional private ErrorReason responseErrorReason;
@Optional private Integer responseStatusCode;
@Optional private Map<String, Object> responseHeaders;
@Optional private String requestId;
/**
* Each request the page makes will have a unique id, however if any redirects are encountered
* while processing that fetch, they will be reported with the same id as the original fetch.
* Likewise if HTTP authentication is needed then the same fetch id will be used.
*/
public String getInterceptionId() {
return interceptionId;
}
/**
* Each request the page makes will have a unique id, however if any redirects are encountered
* while processing that fetch, they will be reported with the same id as the original fetch.
* Likewise if HTTP authentication is needed then the same fetch id will be used.
*/
public void setInterceptionId(String interceptionId) {
this.interceptionId = interceptionId;
}
public Request getRequest() {
return request;
}
public void setRequest(Request request) {
this.request = request;
}
/** The id of the frame that initiated the request. */
public String getFrameId() {
return frameId;
}
/** The id of the frame that initiated the request. */
public void setFrameId(String frameId) {
this.frameId = frameId;
}
/** How the requested resource will be used. */
public ResourceType getResourceType() {
return resourceType;
}
/** How the requested resource will be used. */
public void setResourceType(ResourceType resourceType) {
this.resourceType = resourceType;
}
/** Whether this is a navigation request, which can abort the navigation completely. */
public Boolean getIsNavigationRequest() {
return isNavigationRequest;
}
/** Whether this is a navigation request, which can abort the navigation completely. */
public void setIsNavigationRequest(Boolean isNavigationRequest) {
this.isNavigationRequest = isNavigationRequest;
}
/**
* Set if the request is a navigation that will result in a download. Only present after response
* is received from the server (i.e. HeadersReceived stage).
*/
public Boolean getIsDownload() {
return isDownload;
}
/**
* Set if the request is a navigation that will result in a download. Only present after response
* is received from the server (i.e. HeadersReceived stage).
*/
public void setIsDownload(Boolean isDownload) {
this.isDownload = isDownload;
}
/** Redirect location, only sent if a redirect was intercepted. */
public String getRedirectUrl() {
return redirectUrl;
}
/** Redirect location, only sent if a redirect was intercepted. */
public void setRedirectUrl(String redirectUrl) {
this.redirectUrl = redirectUrl;
}
/**
* Details of the Authorization Challenge encountered. If this is set then
* continueInterceptedRequest must contain an authChallengeResponse.
*/
public AuthChallenge getAuthChallenge() {
return authChallenge;
}
/**
* Details of the Authorization Challenge encountered. If this is set then
* continueInterceptedRequest must contain an authChallengeResponse.
*/
public void setAuthChallenge(AuthChallenge authChallenge) {
this.authChallenge = authChallenge;
}
/**
* Response error if intercepted at response stage or if redirect occurred while intercepting
* request.
*/
public ErrorReason getResponseErrorReason() {
return responseErrorReason;
}
/**
* Response error if intercepted at response stage or if redirect occurred while intercepting
* request.
*/
public void setResponseErrorReason(ErrorReason responseErrorReason) {
this.responseErrorReason = responseErrorReason;
}
/**
* Response code if intercepted at response stage or if redirect occurred while intercepting
* request or auth retry occurred.
*/
public Integer getResponseStatusCode() {
return responseStatusCode;
}
/**
* Response code if intercepted at response stage or if redirect occurred while intercepting
* request or auth retry occurred.
*/
public void setResponseStatusCode(Integer responseStatusCode) {
this.responseStatusCode = responseStatusCode;
}
/**
* Response headers if intercepted at the response stage or if redirect occurred while
* intercepting request or auth retry occurred.
*/
public Map<String, Object> getResponseHeaders() {
return responseHeaders;
}
/**
* Response headers if intercepted at the response stage or if redirect occurred while
* intercepting request or auth retry occurred.
*/
public void setResponseHeaders(Map<String, Object> responseHeaders) {
this.responseHeaders = responseHeaders;
}
/**
* If the intercepted request had a corresponding requestWillBeSent event fired for it, then this
* requestId will be the same as the requestId present in the requestWillBeSent event.
*/
public String getRequestId() {
return requestId;
}
/**
* If the intercepted request had a corresponding requestWillBeSent event fired for it, then this
* requestId will be the same as the requestId present in the requestWillBeSent event.
*/
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/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/RequestServedFromCache.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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%
*/
/** Fired if request ended up loading from cache. */
public class RequestServedFromCache {
private String requestId;
/** Request identifier. */
public String getRequestId() {
return requestId;
}
/** Request identifier. */
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/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/RequestWillBeSent.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.network.Initiator;
import com.github.kklisura.cdt.protocol.v2023.types.network.Request;
import com.github.kklisura.cdt.protocol.v2023.types.network.ResourceType;
import com.github.kklisura.cdt.protocol.v2023.types.network.Response;
/** Fired when page is about to send HTTP request. */
public class RequestWillBeSent {
private String requestId;
private String loaderId;
private String documentURL;
private Request request;
private Double timestamp;
private Double wallTime;
private Initiator initiator;
@Experimental
private Boolean redirectHasExtraInfo;
@Optional
private Response redirectResponse;
@Optional private ResourceType type;
@Optional private String frameId;
@Optional private Boolean hasUserGesture;
/** Request identifier. */
public String getRequestId() {
return requestId;
}
/** Request identifier. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/** Loader identifier. Empty string if the request is fetched from worker. */
public String getLoaderId() {
return loaderId;
}
/** Loader identifier. Empty string if the request is fetched from worker. */
public void setLoaderId(String loaderId) {
this.loaderId = loaderId;
}
/** URL of the document this request is loaded for. */
public String getDocumentURL() {
return documentURL;
}
/** URL of the document this request is loaded for. */
public void setDocumentURL(String documentURL) {
this.documentURL = documentURL;
}
/** Request data. */
public Request getRequest() {
return request;
}
/** Request data. */
public void setRequest(Request request) {
this.request = request;
}
/** Timestamp. */
public Double getTimestamp() {
return timestamp;
}
/** Timestamp. */
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
/** Timestamp. */
public Double getWallTime() {
return wallTime;
}
/** Timestamp. */
public void setWallTime(Double wallTime) {
this.wallTime = wallTime;
}
/** Request initiator. */
public Initiator getInitiator() {
return initiator;
}
/** Request initiator. */
public void setInitiator(Initiator initiator) {
this.initiator = initiator;
}
/**
* In the case that redirectResponse is populated, this flag indicates whether
* requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted for the
* request which was just redirected.
*/
public Boolean getRedirectHasExtraInfo() {
return redirectHasExtraInfo;
}
/**
* In the case that redirectResponse is populated, this flag indicates whether
* requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted for the
* request which was just redirected.
*/
public void setRedirectHasExtraInfo(Boolean redirectHasExtraInfo) {
this.redirectHasExtraInfo = redirectHasExtraInfo;
}
/** Redirect response data. */
public Response getRedirectResponse() {
return redirectResponse;
}
/** Redirect response data. */
public void setRedirectResponse(Response redirectResponse) {
this.redirectResponse = redirectResponse;
}
/** Type of this resource. */
public ResourceType getType() {
return type;
}
/** Type of this resource. */
public void setType(ResourceType type) {
this.type = type;
}
/** Frame identifier. */
public String getFrameId() {
return frameId;
}
/** Frame identifier. */
public void setFrameId(String frameId) {
this.frameId = frameId;
}
/** Whether the request is initiated by a user gesture. Defaults to false. */
public Boolean getHasUserGesture() {
return hasUserGesture;
}
/** Whether the request is initiated by a user gesture. Defaults to false. */
public void setHasUserGesture(Boolean hasUserGesture) {
this.hasUserGesture = hasUserGesture;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/RequestWillBeSentExtraInfo.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.network.BlockedCookieWithReason;
import com.github.kklisura.cdt.protocol.v2023.types.network.ClientSecurityState;
import com.github.kklisura.cdt.protocol.v2023.types.network.ConnectTiming;
import java.util.List;
import java.util.Map;
/**
* Fired when additional information about a requestWillBeSent event is available from the network
* stack. Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired
* for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be
* fired first for the same request.
*/
@Experimental
public class RequestWillBeSentExtraInfo {
private String requestId;
// Since Chrome 127.0.6533.89
// com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `java.lang.String` from Object value (token `JsonToken.START_OBJECT`)
// at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: com.github.kklisura.cdt.protocol.v2023.events.network.RequestWillBeSentExtraInfo["associatedCookies"]->java.util.ArrayList[1]->com.github.kklisura.cdt.protocol.v2023.types.network.BlockedCookieWithReason["cookie"]->com.github.kklisura.cdt.protocol.v2023.types.network.Cookie["partitionKey"])
// private List<BlockedCookieWithReason> associatedCookies;
private Map<String, Object> headers;
@Experimental private ConnectTiming connectTiming;
@Optional
private ClientSecurityState clientSecurityState;
@Optional private Boolean siteHasCookieInOtherPartition;
/** Request identifier. Used to match this information to an existing requestWillBeSent event. */
public String getRequestId() {
return requestId;
}
/** Request identifier. Used to match this information to an existing requestWillBeSent event. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/**
* A list of cookies potentially associated to the requested URL. This includes both cookies sent
* with the request and the ones not sent; the latter are distinguished by having blockedReason
* field set.
*/
// public List<BlockedCookieWithReason> getAssociatedCookies() {
// return associatedCookies;
// }
/**
* A list of cookies potentially associated to the requested URL. This includes both cookies sent
* with the request and the ones not sent; the latter are distinguished by having blockedReason
* field set.
*/
// public void setAssociatedCookies(List<BlockedCookieWithReason> associatedCookies) {
// this.associatedCookies = associatedCookies;
// }
/** Raw request headers as they will be sent over the wire. */
public Map<String, Object> getHeaders() {
return headers;
}
/** Raw request headers as they will be sent over the wire. */
public void setHeaders(Map<String, Object> headers) {
this.headers = headers;
}
/** Connection timing information for the request. */
public ConnectTiming getConnectTiming() {
return connectTiming;
}
/** Connection timing information for the request. */
public void setConnectTiming(ConnectTiming connectTiming) {
this.connectTiming = connectTiming;
}
/** The client security state set for the request. */
public ClientSecurityState getClientSecurityState() {
return clientSecurityState;
}
/** The client security state set for the request. */
public void setClientSecurityState(ClientSecurityState clientSecurityState) {
this.clientSecurityState = clientSecurityState;
}
/**
* Whether the site has partitioned cookies stored in a partition different than the current one.
*/
public Boolean getSiteHasCookieInOtherPartition() {
return siteHasCookieInOtherPartition;
}
/**
* Whether the site has partitioned cookies stored in a partition different than the current one.
*/
public void setSiteHasCookieInOtherPartition(Boolean siteHasCookieInOtherPartition) {
this.siteHasCookieInOtherPartition = siteHasCookieInOtherPartition;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/RequestWillBeSentExtraInfoOld.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.network.BlockedCookieWithReason;
import com.github.kklisura.cdt.protocol.v2023.types.network.ClientSecurityState;
import com.github.kklisura.cdt.protocol.v2023.types.network.ConnectTiming;
import java.util.List;
import java.util.Map;
/**
* Fired when additional information about a requestWillBeSent event is available from the network
* stack. Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired
* for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be
* fired first for the same request.
*/
@Experimental
public class RequestWillBeSentExtraInfoOld {
private String requestId;
private List<BlockedCookieWithReason> associatedCookies;
private Map<String, Object> headers;
@Experimental private ConnectTiming connectTiming;
@Optional
private ClientSecurityState clientSecurityState;
@Optional private Boolean siteHasCookieInOtherPartition;
/** Request identifier. Used to match this information to an existing requestWillBeSent event. */
public String getRequestId() {
return requestId;
}
/** Request identifier. Used to match this information to an existing requestWillBeSent event. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/**
* A list of cookies potentially associated to the requested URL. This includes both cookies sent
* with the request and the ones not sent; the latter are distinguished by having blockedReason
* field set.
*/
public List<BlockedCookieWithReason> getAssociatedCookies() {
return associatedCookies;
}
/**
* A list of cookies potentially associated to the requested URL. This includes both cookies sent
* with the request and the ones not sent; the latter are distinguished by having blockedReason
* field set.
*/
public void setAssociatedCookies(List<BlockedCookieWithReason> associatedCookies) {
this.associatedCookies = associatedCookies;
}
/** Raw request headers as they will be sent over the wire. */
public Map<String, Object> getHeaders() {
return headers;
}
/** Raw request headers as they will be sent over the wire. */
public void setHeaders(Map<String, Object> headers) {
this.headers = headers;
}
/** Connection timing information for the request. */
public ConnectTiming getConnectTiming() {
return connectTiming;
}
/** Connection timing information for the request. */
public void setConnectTiming(ConnectTiming connectTiming) {
this.connectTiming = connectTiming;
}
/** The client security state set for the request. */
public ClientSecurityState getClientSecurityState() {
return clientSecurityState;
}
/** The client security state set for the request. */
public void setClientSecurityState(ClientSecurityState clientSecurityState) {
this.clientSecurityState = clientSecurityState;
}
/**
* Whether the site has partitioned cookies stored in a partition different than the current one.
*/
public Boolean getSiteHasCookieInOtherPartition() {
return siteHasCookieInOtherPartition;
}
/**
* Whether the site has partitioned cookies stored in a partition different than the current one.
*/
public void setSiteHasCookieInOtherPartition(Boolean siteHasCookieInOtherPartition) {
this.siteHasCookieInOtherPartition = siteHasCookieInOtherPartition;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/ResourceChangedPriority.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.types.network.ResourcePriority;
/** Fired when resource loading priority is changed */
@Experimental
public class ResourceChangedPriority {
private String requestId;
private ResourcePriority newPriority;
private Double timestamp;
/** Request identifier. */
public String getRequestId() {
return requestId;
}
/** Request identifier. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/** New priority */
public ResourcePriority getNewPriority() {
return newPriority;
}
/** New priority */
public void setNewPriority(ResourcePriority newPriority) {
this.newPriority = newPriority;
}
/** Timestamp. */
public Double getTimestamp() {
return timestamp;
}
/** Timestamp. */
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/ResponseReceived.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.network.ResourceType;
import com.github.kklisura.cdt.protocol.v2023.types.network.Response;
/** Fired when HTTP response is available. */
public class ResponseReceived {
private String requestId;
private String loaderId;
private Double timestamp;
private ResourceType type;
private Response response;
@Experimental
private Boolean hasExtraInfo;
@Optional
private String frameId;
/** Request identifier. */
public String getRequestId() {
return requestId;
}
/** Request identifier. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/** Loader identifier. Empty string if the request is fetched from worker. */
public String getLoaderId() {
return loaderId;
}
/** Loader identifier. Empty string if the request is fetched from worker. */
public void setLoaderId(String loaderId) {
this.loaderId = loaderId;
}
/** Timestamp. */
public Double getTimestamp() {
return timestamp;
}
/** Timestamp. */
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
/** Resource type. */
public ResourceType getType() {
return type;
}
/** Resource type. */
public void setType(ResourceType type) {
this.type = type;
}
/** Response data. */
public Response getResponse() {
return response;
}
/** Response data. */
public void setResponse(Response response) {
this.response = response;
}
/**
* Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or
* were emitted for this request.
*/
public Boolean getHasExtraInfo() {
return hasExtraInfo;
}
/**
* Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or
* were emitted for this request.
*/
public void setHasExtraInfo(Boolean hasExtraInfo) {
this.hasExtraInfo = hasExtraInfo;
}
/** Frame identifier. */
public String getFrameId() {
return frameId;
}
/** Frame identifier. */
public void setFrameId(String frameId) {
this.frameId = frameId;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/ResponseReceivedExtraInfo.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.network.BlockedSetCookieWithReason;
import com.github.kklisura.cdt.protocol.v2023.types.network.IPAddressSpace;
import java.util.List;
import java.util.Map;
/**
* Fired when additional information about a responseReceived event is available from the network
* stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for it,
* and responseReceivedExtraInfo may be fired before or after responseReceived.
*/
@Experimental
public class ResponseReceivedExtraInfo {
private String requestId;
private List<BlockedSetCookieWithReason> blockedCookies;
private Map<String, Object> headers;
private IPAddressSpace resourceIPAddressSpace;
private Integer statusCode;
@Optional
private String headersText;
/**
* CDP upgraded and failed to serialize ResponseReceivedExtraInfo since Google Chrome 127. #74
* @see <a href="https://github.com/platonai/PulsarRPA/issues/74">CDP upgraded and failed to serialize ResponseReceivedExtraInfo since Google Chrome 127</a>
* */
// @Optional private String cookiePartitionKey;
@Optional private Boolean cookiePartitionKeyOpaque;
/** Request identifier. Used to match this information to another responseReceived event. */
public String getRequestId() {
return requestId;
}
/** Request identifier. Used to match this information to another responseReceived event. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/**
* A list of cookies which were not stored from the response along with the corresponding reasons
* for blocking. The cookies here may not be valid due to syntax errors, which are represented by
* the invalid cookie line string instead of a proper cookie.
*/
public List<BlockedSetCookieWithReason> getBlockedCookies() {
return blockedCookies;
}
/**
* A list of cookies which were not stored from the response along with the corresponding reasons
* for blocking. The cookies here may not be valid due to syntax errors, which are represented by
* the invalid cookie line string instead of a proper cookie.
*/
public void setBlockedCookies(List<BlockedSetCookieWithReason> blockedCookies) {
this.blockedCookies = blockedCookies;
}
/** Raw response headers as they were received over the wire. */
public Map<String, Object> getHeaders() {
return headers;
}
/** Raw response headers as they were received over the wire. */
public void setHeaders(Map<String, Object> headers) {
this.headers = headers;
}
/**
* The IP address space of the resource. The address space can only be determined once the
* transport established the connection, so we can't send it in `requestWillBeSentExtraInfo`.
*/
public IPAddressSpace getResourceIPAddressSpace() {
return resourceIPAddressSpace;
}
/**
* The IP address space of the resource. The address space can only be determined once the
* transport established the connection, so we can't send it in `requestWillBeSentExtraInfo`.
*/
public void setResourceIPAddressSpace(IPAddressSpace resourceIPAddressSpace) {
this.resourceIPAddressSpace = resourceIPAddressSpace;
}
/**
* The status code of the response. This is useful in cases the request failed and no
* responseReceived event is triggered, which is the case for, e.g., CORS errors. This is also the
* correct status code for cached requests, where the status in responseReceived is a 200 and this
* will be 304.
*/
public Integer getStatusCode() {
return statusCode;
}
/**
* The status code of the response. This is useful in cases the request failed and no
* responseReceived event is triggered, which is the case for, e.g., CORS errors. This is also the
* correct status code for cached requests, where the status in responseReceived is a 200 and this
* will be 304.
*/
public void setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
}
/**
* Raw response header text as it was received over the wire. The raw text may not always be
* available, such as in the case of HTTP/2 or QUIC.
*/
public String getHeadersText() {
return headersText;
}
/**
* Raw response header text as it was received over the wire. The raw text may not always be
* available, such as in the case of HTTP/2 or QUIC.
*/
public void setHeadersText(String headersText) {
this.headersText = headersText;
}
/**
* The cookie partition key that will be used to store partitioned cookies set in this response.
* Only sent when partitioned cookies are enabled.
*/
// public String getCookiePartitionKey() {
// return cookiePartitionKey;
// }
/**
* The cookie partition key that will be used to store partitioned cookies set in this response.
* Only sent when partitioned cookies are enabled.
*/
// public void setCookiePartitionKey(String cookiePartitionKey) {
// this.cookiePartitionKey = cookiePartitionKey;
// }
/**
* True if partitioned cookies are enabled, but the partition key is not serializeable to string.
*/
public Boolean getCookiePartitionKeyOpaque() {
return cookiePartitionKeyOpaque;
}
/**
* True if partitioned cookies are enabled, but the partition key is not serializeable to string.
*/
public void setCookiePartitionKeyOpaque(Boolean cookiePartitionKeyOpaque) {
this.cookiePartitionKeyOpaque = cookiePartitionKeyOpaque;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/SignedExchangeReceived.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.types.network.SignedExchangeInfo;
/** Fired when a signed exchange was received over the network */
@Experimental
public class SignedExchangeReceived {
private String requestId;
private SignedExchangeInfo info;
/** Request identifier. */
public String getRequestId() {
return requestId;
}
/** Request identifier. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/** Information about the signed exchange response. */
public SignedExchangeInfo getInfo() {
return info;
}
/** Information about the signed exchange response. */
public void setInfo(SignedExchangeInfo info) {
this.info = info;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/SubresourceWebBundleInnerResponseError.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
/** Fired when request for resources within a .wbn file failed. */
@Experimental
public class SubresourceWebBundleInnerResponseError {
private String innerRequestId;
private String innerRequestURL;
private String errorMessage;
@Optional
private String bundleRequestId;
/** Request identifier of the subresource request */
public String getInnerRequestId() {
return innerRequestId;
}
/** Request identifier of the subresource request */
public void setInnerRequestId(String innerRequestId) {
this.innerRequestId = innerRequestId;
}
/** URL of the subresource resource. */
public String getInnerRequestURL() {
return innerRequestURL;
}
/** URL of the subresource resource. */
public void setInnerRequestURL(String innerRequestURL) {
this.innerRequestURL = innerRequestURL;
}
/** Error message */
public String getErrorMessage() {
return errorMessage;
}
/** Error message */
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
/**
* Bundle request identifier. Used to match this information to another event. This made be absent
* in case when the instrumentation was enabled only after webbundle was parsed.
*/
public String getBundleRequestId() {
return bundleRequestId;
}
/**
* Bundle request identifier. Used to match this information to another event. This made be absent
* in case when the instrumentation was enabled only after webbundle was parsed.
*/
public void setBundleRequestId(String bundleRequestId) {
this.bundleRequestId = bundleRequestId;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/SubresourceWebBundleInnerResponseParsed.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
/**
* Fired when handling requests for resources within a .wbn file. Note: this will only be fired for
* resources that are requested by the webpage.
*/
@Experimental
public class SubresourceWebBundleInnerResponseParsed {
private String innerRequestId;
private String innerRequestURL;
@Optional
private String bundleRequestId;
/** Request identifier of the subresource request */
public String getInnerRequestId() {
return innerRequestId;
}
/** Request identifier of the subresource request */
public void setInnerRequestId(String innerRequestId) {
this.innerRequestId = innerRequestId;
}
/** URL of the subresource resource. */
public String getInnerRequestURL() {
return innerRequestURL;
}
/** URL of the subresource resource. */
public void setInnerRequestURL(String innerRequestURL) {
this.innerRequestURL = innerRequestURL;
}
/**
* Bundle request identifier. Used to match this information to another event. This made be absent
* in case when the instrumentation was enabled only after webbundle was parsed.
*/
public String getBundleRequestId() {
return bundleRequestId;
}
/**
* Bundle request identifier. Used to match this information to another event. This made be absent
* in case when the instrumentation was enabled only after webbundle was parsed.
*/
public void setBundleRequestId(String bundleRequestId) {
this.bundleRequestId = bundleRequestId;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/SubresourceWebBundleMetadataError.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
/** Fired once when parsing the .wbn file has failed. */
@Experimental
public class SubresourceWebBundleMetadataError {
private String requestId;
private String errorMessage;
/** Request identifier. Used to match this information to another event. */
public String getRequestId() {
return requestId;
}
/** Request identifier. Used to match this information to another event. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/** Error message */
public String getErrorMessage() {
return errorMessage;
}
/** Error message */
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/SubresourceWebBundleMetadataReceived.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
/**
* Fired once when parsing the .wbn file has succeeded. The event contains the information about the
* web bundle contents.
*/
@Experimental
public class SubresourceWebBundleMetadataReceived {
private String requestId;
private List<String> urls;
/** Request identifier. Used to match this information to another event. */
public String getRequestId() {
return requestId;
}
/** Request identifier. Used to match this information to another event. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/** A list of URLs of resources in the subresource Web Bundle. */
public List<String> getUrls() {
return urls;
}
/** A list of URLs of resources in the subresource Web Bundle. */
public void setUrls(List<String> urls) {
this.urls = urls;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/TrustTokenOperationDone.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.network.TrustTokenOperationType;
/**
* Fired exactly once for each Trust Token operation. Depending on the type of the operation and
* whether the operation succeeded or failed, the event is fired before the corresponding request
* was sent or after the response was received.
*/
@Experimental
public class TrustTokenOperationDone {
private TrustTokenOperationDoneStatus status;
private TrustTokenOperationType type;
private String requestId;
@Optional
private String topLevelOrigin;
@Optional private String issuerOrigin;
@Optional private Integer issuedTokenCount;
/**
* Detailed success or error status of the operation. 'AlreadyExists' also signifies a successful
* operation, as the result of the operation already exists und thus, the operation was abort
* preemptively (e.g. a cache hit).
*/
public TrustTokenOperationDoneStatus getStatus() {
return status;
}
/**
* Detailed success or error status of the operation. 'AlreadyExists' also signifies a successful
* operation, as the result of the operation already exists und thus, the operation was abort
* preemptively (e.g. a cache hit).
*/
public void setStatus(TrustTokenOperationDoneStatus status) {
this.status = status;
}
public TrustTokenOperationType getType() {
return type;
}
public void setType(TrustTokenOperationType type) {
this.type = type;
}
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/** Top level origin. The context in which the operation was attempted. */
public String getTopLevelOrigin() {
return topLevelOrigin;
}
/** Top level origin. The context in which the operation was attempted. */
public void setTopLevelOrigin(String topLevelOrigin) {
this.topLevelOrigin = topLevelOrigin;
}
/** Origin of the issuer in case of a "Issuance" or "Redemption" operation. */
public String getIssuerOrigin() {
return issuerOrigin;
}
/** Origin of the issuer in case of a "Issuance" or "Redemption" operation. */
public void setIssuerOrigin(String issuerOrigin) {
this.issuerOrigin = issuerOrigin;
}
/** The number of obtained Trust Tokens on a successful "Issuance" operation. */
public Integer getIssuedTokenCount() {
return issuedTokenCount;
}
/** The number of obtained Trust Tokens on a successful "Issuance" operation. */
public void setIssuedTokenCount(Integer issuedTokenCount) {
this.issuedTokenCount = issuedTokenCount;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/TrustTokenOperationDoneStatus.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
/**
* Detailed success or error status of the operation. 'AlreadyExists' also signifies a successful
* operation, as the result of the operation already exists und thus, the operation was abort
* preemptively (e.g. a cache hit).
*/
public enum TrustTokenOperationDoneStatus {
@JsonProperty("Ok")
OK,
@JsonProperty("InvalidArgument")
INVALID_ARGUMENT,
@JsonProperty("MissingIssuerKeys")
MISSING_ISSUER_KEYS,
@JsonProperty("FailedPrecondition")
FAILED_PRECONDITION,
@JsonProperty("ResourceExhausted")
RESOURCE_EXHAUSTED,
@JsonProperty("AlreadyExists")
ALREADY_EXISTS,
@JsonProperty("Unavailable")
UNAVAILABLE,
@JsonProperty("Unauthorized")
UNAUTHORIZED,
@JsonProperty("BadResponse")
BAD_RESPONSE,
@JsonProperty("InternalError")
INTERNAL_ERROR,
@JsonProperty("UnknownError")
UNKNOWN_ERROR,
@JsonProperty("FulfilledLocally")
FULFILLED_LOCALLY
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/WebSocketClosed.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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%
*/
/** Fired when WebSocket is closed. */
public class WebSocketClosed {
private String requestId;
private Double timestamp;
/** Request identifier. */
public String getRequestId() {
return requestId;
}
/** Request identifier. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/** Timestamp. */
public Double getTimestamp() {
return timestamp;
}
/** Timestamp. */
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/WebSocketCreated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.network.Initiator;
/** Fired upon WebSocket creation. */
public class WebSocketCreated {
private String requestId;
private String url;
@Optional
private Initiator initiator;
/** Request identifier. */
public String getRequestId() {
return requestId;
}
/** Request identifier. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/** WebSocket request URL. */
public String getUrl() {
return url;
}
/** WebSocket request URL. */
public void setUrl(String url) {
this.url = url;
}
/** Request initiator. */
public Initiator getInitiator() {
return initiator;
}
/** Request initiator. */
public void setInitiator(Initiator initiator) {
this.initiator = initiator;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/WebSocketFrameError.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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%
*/
/** Fired when WebSocket message error occurs. */
public class WebSocketFrameError {
private String requestId;
private Double timestamp;
private String errorMessage;
/** Request identifier. */
public String getRequestId() {
return requestId;
}
/** Request identifier. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/** Timestamp. */
public Double getTimestamp() {
return timestamp;
}
/** Timestamp. */
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
/** WebSocket error message. */
public String getErrorMessage() {
return errorMessage;
}
/** WebSocket error message. */
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/WebSocketFrameReceived.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.types.network.WebSocketFrame;
/** Fired when WebSocket message is received. */
public class WebSocketFrameReceived {
private String requestId;
private Double timestamp;
private WebSocketFrame response;
/** Request identifier. */
public String getRequestId() {
return requestId;
}
/** Request identifier. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/** Timestamp. */
public Double getTimestamp() {
return timestamp;
}
/** Timestamp. */
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
/** WebSocket response data. */
public WebSocketFrame getResponse() {
return response;
}
/** WebSocket response data. */
public void setResponse(WebSocketFrame response) {
this.response = response;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/WebSocketFrameSent.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.types.network.WebSocketFrame;
/** Fired when WebSocket message is sent. */
public class WebSocketFrameSent {
private String requestId;
private Double timestamp;
private WebSocketFrame response;
/** Request identifier. */
public String getRequestId() {
return requestId;
}
/** Request identifier. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/** Timestamp. */
public Double getTimestamp() {
return timestamp;
}
/** Timestamp. */
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
/** WebSocket response data. */
public WebSocketFrame getResponse() {
return response;
}
/** WebSocket response data. */
public void setResponse(WebSocketFrame response) {
this.response = response;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/WebSocketHandshakeResponseReceived.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.types.network.WebSocketResponse;
/** Fired when WebSocket handshake response becomes available. */
public class WebSocketHandshakeResponseReceived {
private String requestId;
private Double timestamp;
private WebSocketResponse response;
/** Request identifier. */
public String getRequestId() {
return requestId;
}
/** Request identifier. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/** Timestamp. */
public Double getTimestamp() {
return timestamp;
}
/** Timestamp. */
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
/** WebSocket response data. */
public WebSocketResponse getResponse() {
return response;
}
/** WebSocket response data. */
public void setResponse(WebSocketResponse response) {
this.response = response;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/WebSocketWillSendHandshakeRequest.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.types.network.WebSocketRequest;
/** Fired when WebSocket is about to initiate handshake. */
public class WebSocketWillSendHandshakeRequest {
private String requestId;
private Double timestamp;
private Double wallTime;
private WebSocketRequest request;
/** Request identifier. */
public String getRequestId() {
return requestId;
}
/** Request identifier. */
public void setRequestId(String requestId) {
this.requestId = requestId;
}
/** Timestamp. */
public Double getTimestamp() {
return timestamp;
}
/** Timestamp. */
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
/** UTC Timestamp. */
public Double getWallTime() {
return wallTime;
}
/** UTC Timestamp. */
public void setWallTime(Double wallTime) {
this.wallTime = wallTime;
}
/** WebSocket request data. */
public WebSocketRequest getRequest() {
return request;
}
/** WebSocket request data. */
public void setRequest(WebSocketRequest request) {
this.request = request;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/WebTransportClosed.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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%
*/
/** Fired when WebTransport is disposed. */
public class WebTransportClosed {
private String transportId;
private Double timestamp;
/** WebTransport identifier. */
public String getTransportId() {
return transportId;
}
/** WebTransport identifier. */
public void setTransportId(String transportId) {
this.transportId = transportId;
}
/** Timestamp. */
public Double getTimestamp() {
return timestamp;
}
/** Timestamp. */
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/WebTransportConnectionEstablished.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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%
*/
/** Fired when WebTransport handshake is finished. */
public class WebTransportConnectionEstablished {
private String transportId;
private Double timestamp;
/** WebTransport identifier. */
public String getTransportId() {
return transportId;
}
/** WebTransport identifier. */
public void setTransportId(String transportId) {
this.transportId = transportId;
}
/** Timestamp. */
public Double getTimestamp() {
return timestamp;
}
/** Timestamp. */
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/network/WebTransportCreated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.network.Initiator;
/** Fired upon WebTransport creation. */
public class WebTransportCreated {
private String transportId;
private String url;
private Double timestamp;
@Optional
private Initiator initiator;
/** WebTransport identifier. */
public String getTransportId() {
return transportId;
}
/** WebTransport identifier. */
public void setTransportId(String transportId) {
this.transportId = transportId;
}
/** WebTransport request URL. */
public String getUrl() {
return url;
}
/** WebTransport request URL. */
public void setUrl(String url) {
this.url = url;
}
/** Timestamp. */
public Double getTimestamp() {
return timestamp;
}
/** Timestamp. */
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
/** Request initiator. */
public Initiator getInitiator() {
return initiator;
}
/** Request initiator. */
public void setInitiator(Initiator initiator) {
this.initiator = initiator;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/overlay/InspectModeCanceled.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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%
*/
/** Fired when user cancels the inspect mode. */
public class InspectModeCanceled {}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/overlay/InspectNodeRequested.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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%
*/
/**
* Fired when the node should be inspected. This happens after call to `setInspectMode` or when user
* manually inspects an element.
*/
public class InspectNodeRequested {
private Integer backendNodeId;
/** Id of the node to inspect. */
public Integer getBackendNodeId() {
return backendNodeId;
}
/** Id of the node to inspect. */
public void setBackendNodeId(Integer backendNodeId) {
this.backendNodeId = backendNodeId;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/overlay/NodeHighlightRequested.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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%
*/
/** Fired when the node should be highlighted. This happens after call to `setInspectMode`. */
public class NodeHighlightRequested {
private Integer nodeId;
public Integer getNodeId() {
return nodeId;
}
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/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/overlay/ScreenshotRequested.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.page.Viewport;
/** Fired when user asks to capture screenshot of some area on the page. */
public class ScreenshotRequested {
private Viewport viewport;
/** Viewport to capture, in device independent pixels (dip). */
public Viewport getViewport() {
return viewport;
}
/** Viewport to capture, in device independent pixels (dip). */
public void setViewport(Viewport viewport) {
this.viewport = viewport;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/BackForwardCacheNotUsed.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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 com.github.kklisura.cdt.protocol.v2023.types.page.BackForwardCacheNotRestoredExplanation;
import com.github.kklisura.cdt.protocol.v2023.types.page.BackForwardCacheNotRestoredExplanationTree;
import java.util.List;
/**
* Fired for failed bfcache history navigations if BackForwardCache feature is enabled. Do not
* assume any ordering with the Page.frameNavigated event. This event is fired only for main-frame
* history navigation where the document changes (non-same-document navigations), when bfcache
* navigation fails.
*/
@Experimental
public class BackForwardCacheNotUsed {
private String loaderId;
private String frameId;
private List<BackForwardCacheNotRestoredExplanation> notRestoredExplanations;
@Optional
private BackForwardCacheNotRestoredExplanationTree notRestoredExplanationsTree;
/** The loader id for the associated navgation. */
public String getLoaderId() {
return loaderId;
}
/** The loader id for the associated navgation. */
public void setLoaderId(String loaderId) {
this.loaderId = loaderId;
}
/** The frame id of the associated frame. */
public String getFrameId() {
return frameId;
}
/** The frame id of the associated frame. */
public void setFrameId(String frameId) {
this.frameId = frameId;
}
/** Array of reasons why the page could not be cached. This must not be empty. */
public List<BackForwardCacheNotRestoredExplanation> getNotRestoredExplanations() {
return notRestoredExplanations;
}
/** Array of reasons why the page could not be cached. This must not be empty. */
public void setNotRestoredExplanations(
List<BackForwardCacheNotRestoredExplanation> notRestoredExplanations) {
this.notRestoredExplanations = notRestoredExplanations;
}
/** Tree structure of reasons why the page could not be cached for each frame. */
public BackForwardCacheNotRestoredExplanationTree getNotRestoredExplanationsTree() {
return notRestoredExplanationsTree;
}
/** Tree structure of reasons why the page could not be cached for each frame. */
public void setNotRestoredExplanationsTree(
BackForwardCacheNotRestoredExplanationTree notRestoredExplanationsTree) {
this.notRestoredExplanationsTree = notRestoredExplanationsTree;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/CompilationCacheProduced.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
/**
* Issued for every compilation cache generated. Is only available if
* Page.setGenerateCompilationCache is enabled.
*/
@Experimental
public class CompilationCacheProduced {
private String url;
private String data;
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
/** Base64-encoded data (Encoded as a base64 string when passed over JSON) */
public String getData() {
return data;
}
/** Base64-encoded data (Encoded as a base64 string when passed over JSON) */
public void setData(String data) {
this.data = data;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/DocumentOpened.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.types.page.Frame;
/** Fired when opening document to write to. */
@Experimental
public class DocumentOpened {
private Frame frame;
/** Frame object. */
public Frame getFrame() {
return frame;
}
/** Frame object. */
public void setFrame(Frame frame) {
this.frame = frame;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/DomContentEventFired.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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%
*/
public class DomContentEventFired {
private Double timestamp;
public Double getTimestamp() {
return timestamp;
}
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/DownloadProgress.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
/**
* Fired when download makes progress. Last call has |done| == true. Deprecated. Use
* Browser.downloadProgress instead.
*/
@Experimental
@Deprecated
public class DownloadProgress {
private String guid;
private Double totalBytes;
private Double receivedBytes;
private DownloadProgressState state;
/** Global unique identifier of the download. */
public String getGuid() {
return guid;
}
/** Global unique identifier of the download. */
public void setGuid(String guid) {
this.guid = guid;
}
/** Total expected bytes to download. */
public Double getTotalBytes() {
return totalBytes;
}
/** Total expected bytes to download. */
public void setTotalBytes(Double totalBytes) {
this.totalBytes = totalBytes;
}
/** Total bytes received. */
public Double getReceivedBytes() {
return receivedBytes;
}
/** Total bytes received. */
public void setReceivedBytes(Double receivedBytes) {
this.receivedBytes = receivedBytes;
}
/** Download status. */
public DownloadProgressState getState() {
return state;
}
/** Download status. */
public void setState(DownloadProgressState state) {
this.state = state;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/DownloadProgressState.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
/** Download status. */
public enum DownloadProgressState {
@JsonProperty("inProgress")
IN_PROGRESS,
@JsonProperty("completed")
COMPLETED,
@JsonProperty("canceled")
CANCELED
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/DownloadWillBegin.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
/**
* Fired when page is about to start a download. Deprecated. Use Browser.downloadWillBegin instead.
*/
@Experimental
@Deprecated
public class DownloadWillBegin {
private String frameId;
private String guid;
private String url;
private String suggestedFilename;
/** Id of the frame that caused download to begin. */
public String getFrameId() {
return frameId;
}
/** Id of the frame that caused download to begin. */
public void setFrameId(String frameId) {
this.frameId = frameId;
}
/** Global unique identifier of the download. */
public String getGuid() {
return guid;
}
/** Global unique identifier of the download. */
public void setGuid(String guid) {
this.guid = guid;
}
/** URL of the resource being downloaded. */
public String getUrl() {
return url;
}
/** URL of the resource being downloaded. */
public void setUrl(String url) {
this.url = url;
}
/** Suggested file name of the resource (the actual name of the file saved on disk may differ). */
public String getSuggestedFilename() {
return suggestedFilename;
}
/** Suggested file name of the resource (the actual name of the file saved on disk may differ). */
public void setSuggestedFilename(String suggestedFilename) {
this.suggestedFilename = suggestedFilename;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/FileChooserOpened.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
/** Emitted only when `page.interceptFileChooser` is enabled. */
public class FileChooserOpened {
@Experimental
private String frameId;
private FileChooserOpenedMode mode;
@Experimental @Optional
private Integer backendNodeId;
/** Id of the frame containing input node. */
public String getFrameId() {
return frameId;
}
/** Id of the frame containing input node. */
public void setFrameId(String frameId) {
this.frameId = frameId;
}
/** Input mode. */
public FileChooserOpenedMode getMode() {
return mode;
}
/** Input mode. */
public void setMode(FileChooserOpenedMode mode) {
this.mode = mode;
}
/** Input node id. Only present for file choosers opened via an `<input type="file">` element. */
public Integer getBackendNodeId() {
return backendNodeId;
}
/** Input node id. Only present for file choosers opened via an `<input type="file">` element. */
public void setBackendNodeId(Integer backendNodeId) {
this.backendNodeId = backendNodeId;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/FileChooserOpenedMode.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
/** Input mode. */
public enum FileChooserOpenedMode {
@JsonProperty("selectSingle")
SELECT_SINGLE,
@JsonProperty("selectMultiple")
SELECT_MULTIPLE
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/FrameAttached.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
import com.github.kklisura.cdt.protocol.v2023.types.runtime.StackTrace;
/** Fired when frame has been attached to its parent. */
public class FrameAttached {
private String frameId;
private String parentFrameId;
@Optional
private StackTrace stack;
/** Id of the frame that has been attached. */
public String getFrameId() {
return frameId;
}
/** Id of the frame that has been attached. */
public void setFrameId(String frameId) {
this.frameId = frameId;
}
/** Parent frame identifier. */
public String getParentFrameId() {
return parentFrameId;
}
/** Parent frame identifier. */
public void setParentFrameId(String parentFrameId) {
this.parentFrameId = parentFrameId;
}
/** JavaScript stack trace of when frame was attached, only set if frame initiated from script. */
public StackTrace getStack() {
return stack;
}
/** JavaScript stack trace of when frame was attached, only set if frame initiated from script. */
public void setStack(StackTrace stack) {
this.stack = stack;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/FrameClearedScheduledNavigation.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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%
*/
/** Fired when frame no longer has a scheduled navigation. */
@Deprecated
public class FrameClearedScheduledNavigation {
private String frameId;
/** Id of the frame that has cleared its scheduled navigation. */
public String getFrameId() {
return frameId;
}
/** Id of the frame that has cleared its scheduled navigation. */
public void setFrameId(String frameId) {
this.frameId = frameId;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/FrameDetached.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
/** Fired when frame has been detached from its parent. */
public class FrameDetached {
private String frameId;
@Experimental
private FrameDetachedReason reason;
/** Id of the frame that has been detached. */
public String getFrameId() {
return frameId;
}
/** Id of the frame that has been detached. */
public void setFrameId(String frameId) {
this.frameId = frameId;
}
public FrameDetachedReason getReason() {
return reason;
}
public void setReason(FrameDetachedReason reason) {
this.reason = reason;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/FrameDetachedReason.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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 FrameDetachedReason {
@JsonProperty("remove")
REMOVE,
@JsonProperty("swap")
SWAP
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/FrameNavigated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.types.page.Frame;
import com.github.kklisura.cdt.protocol.v2023.types.page.NavigationType;
/**
* Fired once navigation of the frame has completed. Frame is now associated with the new loader.
*/
public class FrameNavigated {
private Frame frame;
@Experimental
private NavigationType type;
/** Frame object. */
public Frame getFrame() {
return frame;
}
/** Frame object. */
public void setFrame(Frame frame) {
this.frame = frame;
}
public NavigationType getType() {
return type;
}
public void setType(NavigationType type) {
this.type = type;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/FrameRequestedNavigation.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.types.page.ClientNavigationDisposition;
import com.github.kklisura.cdt.protocol.v2023.types.page.ClientNavigationReason;
/**
* Fired when a renderer-initiated navigation is requested. Navigation may still be cancelled after
* the event is issued.
*/
@Experimental
public class FrameRequestedNavigation {
private String frameId;
private ClientNavigationReason reason;
private String url;
private ClientNavigationDisposition disposition;
/** Id of the frame that is being navigated. */
public String getFrameId() {
return frameId;
}
/** Id of the frame that is being navigated. */
public void setFrameId(String frameId) {
this.frameId = frameId;
}
/** The reason for the navigation. */
public ClientNavigationReason getReason() {
return reason;
}
/** The reason for the navigation. */
public void setReason(ClientNavigationReason reason) {
this.reason = reason;
}
/** The destination URL for the requested navigation. */
public String getUrl() {
return url;
}
/** The destination URL for the requested navigation. */
public void setUrl(String url) {
this.url = url;
}
/** The disposition for the navigation. */
public ClientNavigationDisposition getDisposition() {
return disposition;
}
/** The disposition for the navigation. */
public void setDisposition(ClientNavigationDisposition disposition) {
this.disposition = disposition;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/FrameResized.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
@Experimental
public class FrameResized {}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/FrameScheduledNavigation.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.types.page.ClientNavigationReason;
/** Fired when frame schedules a potential navigation. */
@Deprecated
public class FrameScheduledNavigation {
private String frameId;
private Double delay;
private ClientNavigationReason reason;
private String url;
/** Id of the frame that has scheduled a navigation. */
public String getFrameId() {
return frameId;
}
/** Id of the frame that has scheduled a navigation. */
public void setFrameId(String frameId) {
this.frameId = frameId;
}
/**
* Delay (in seconds) until the navigation is scheduled to begin. The navigation is not guaranteed
* to start.
*/
public Double getDelay() {
return delay;
}
/**
* Delay (in seconds) until the navigation is scheduled to begin. The navigation is not guaranteed
* to start.
*/
public void setDelay(Double delay) {
this.delay = delay;
}
/** The reason for the navigation. */
public ClientNavigationReason getReason() {
return reason;
}
/** The reason for the navigation. */
public void setReason(ClientNavigationReason reason) {
this.reason = reason;
}
/** The destination URL for the scheduled navigation. */
public String getUrl() {
return url;
}
/** The destination URL for the scheduled navigation. */
public void setUrl(String url) {
this.url = url;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/FrameStartedLoading.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
/** Fired when frame has started loading. */
@Experimental
public class FrameStartedLoading {
private String frameId;
/** Id of the frame that has started loading. */
public String getFrameId() {
return frameId;
}
/** Id of the frame that has started loading. */
public void setFrameId(String frameId) {
this.frameId = frameId;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/FrameStoppedLoading.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
/** Fired when frame has stopped loading. */
@Experimental
public class FrameStoppedLoading {
private String frameId;
/** Id of the frame that has stopped loading. */
public String getFrameId() {
return frameId;
}
/** Id of the frame that has stopped loading. */
public void setFrameId(String frameId) {
this.frameId = frameId;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/InterstitialHidden.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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%
*/
/** Fired when interstitial page was hidden */
public class InterstitialHidden {}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/InterstitialShown.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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%
*/
/** Fired when interstitial page was shown */
public class InterstitialShown {}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/JavascriptDialogClosed.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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%
*/
/**
* Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been
* closed.
*/
public class JavascriptDialogClosed {
private Boolean result;
private String userInput;
/** Whether dialog was confirmed. */
public Boolean getResult() {
return result;
}
/** Whether dialog was confirmed. */
public void setResult(Boolean result) {
this.result = result;
}
/** User input in case of prompt. */
public String getUserInput() {
return userInput;
}
/** User input in case of prompt. */
public void setUserInput(String userInput) {
this.userInput = userInput;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/JavascriptDialogOpening.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
import com.github.kklisura.cdt.protocol.v2023.types.page.DialogType;
/**
* Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to
* open.
*/
public class JavascriptDialogOpening {
private String url;
private String message;
private DialogType type;
private Boolean hasBrowserHandler;
@Optional
private String defaultPrompt;
/** Frame url. */
public String getUrl() {
return url;
}
/** Frame url. */
public void setUrl(String url) {
this.url = url;
}
/** Message that will be displayed by the dialog. */
public String getMessage() {
return message;
}
/** Message that will be displayed by the dialog. */
public void setMessage(String message) {
this.message = message;
}
/** Dialog type. */
public DialogType getType() {
return type;
}
/** Dialog type. */
public void setType(DialogType type) {
this.type = type;
}
/**
* True iff browser is capable showing or acting on the given dialog. When browser has no dialog
* handler for given target, calling alert while Page domain is engaged will stall the page
* execution. Execution can be resumed via calling Page.handleJavaScriptDialog.
*/
public Boolean getHasBrowserHandler() {
return hasBrowserHandler;
}
/**
* True iff browser is capable showing or acting on the given dialog. When browser has no dialog
* handler for given target, calling alert while Page domain is engaged will stall the page
* execution. Execution can be resumed via calling Page.handleJavaScriptDialog.
*/
public void setHasBrowserHandler(Boolean hasBrowserHandler) {
this.hasBrowserHandler = hasBrowserHandler;
}
/** Default dialog prompt. */
public String getDefaultPrompt() {
return defaultPrompt;
}
/** Default dialog prompt. */
public void setDefaultPrompt(String defaultPrompt) {
this.defaultPrompt = defaultPrompt;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/LifecycleEvent.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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%
*/
/** Fired for top level page lifecycle events such as navigation, load, paint, etc. */
public class LifecycleEvent {
private String frameId;
private String loaderId;
private String name;
private Double timestamp;
/** Id of the frame. */
public String getFrameId() {
return frameId;
}
/** Id of the frame. */
public void setFrameId(String frameId) {
this.frameId = frameId;
}
/** Loader identifier. Empty string if the request is fetched from worker. */
public String getLoaderId() {
return loaderId;
}
/** Loader identifier. Empty string if the request is fetched from worker. */
public void setLoaderId(String loaderId) {
this.loaderId = loaderId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Double getTimestamp() {
return timestamp;
}
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/LoadEventFired.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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%
*/
public class LoadEventFired {
private Double timestamp;
public Double getTimestamp() {
return timestamp;
}
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/NavigatedWithinDocument.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
/**
* Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
*/
@Experimental
public class NavigatedWithinDocument {
private String frameId;
private String url;
/** Id of the frame. */
public String getFrameId() {
return frameId;
}
/** Id of the frame. */
public void setFrameId(String frameId) {
this.frameId = frameId;
}
/** Frame's new url. */
public String getUrl() {
return url;
}
/** Frame's new url. */
public void setUrl(String url) {
this.url = url;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/ScreencastFrame.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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.types.page.ScreencastFrameMetadata;
/** Compressed image data requested by the `startScreencast`. */
@Experimental
public class ScreencastFrame {
private String data;
private ScreencastFrameMetadata metadata;
private Integer sessionId;
/** Base64-encoded compressed image. (Encoded as a base64 string when passed over JSON) */
public String getData() {
return data;
}
/** Base64-encoded compressed image. (Encoded as a base64 string when passed over JSON) */
public void setData(String data) {
this.data = data;
}
/** Screencast frame metadata. */
public ScreencastFrameMetadata getMetadata() {
return metadata;
}
/** Screencast frame metadata. */
public void setMetadata(ScreencastFrameMetadata metadata) {
this.metadata = metadata;
}
/** Frame number. */
public Integer getSessionId() {
return sessionId;
}
/** Frame number. */
public void setSessionId(Integer sessionId) {
this.sessionId = sessionId;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/ScreencastVisibilityChanged.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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;
/** Fired when the page with currently enabled screencast was shown or hidden `. */
@Experimental
public class ScreencastVisibilityChanged {
private Boolean visible;
/** True if the page is visible. */
public Boolean getVisible() {
return visible;
}
/** True if the page is visible. */
public void setVisible(Boolean visible) {
this.visible = visible;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/page/WindowOpen.java
|
package com.github.kklisura.cdt.protocol.v2023.events.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 java.util.List;
/**
* Fired when a new window is going to be opened, via window.open(), link click, form submission,
* etc.
*/
public class WindowOpen {
private String url;
private String windowName;
private List<String> windowFeatures;
private Boolean userGesture;
/** The URL for the new window. */
public String getUrl() {
return url;
}
/** The URL for the new window. */
public void setUrl(String url) {
this.url = url;
}
/** Window name. */
public String getWindowName() {
return windowName;
}
/** Window name. */
public void setWindowName(String windowName) {
this.windowName = windowName;
}
/** An array of enabled window features. */
public List<String> getWindowFeatures() {
return windowFeatures;
}
/** An array of enabled window features. */
public void setWindowFeatures(List<String> windowFeatures) {
this.windowFeatures = windowFeatures;
}
/** Whether or not it was triggered by user gesture. */
public Boolean getUserGesture() {
return userGesture;
}
/** Whether or not it was triggered by user gesture. */
public void setUserGesture(Boolean userGesture) {
this.userGesture = userGesture;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/performance/Metrics.java
|
package com.github.kklisura.cdt.protocol.v2023.events.performance;
/*-
* #%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.performance.Metric;
import java.util.List;
/** Current values of the metrics. */
public class Metrics {
private List<Metric> metrics;
private String title;
/** Current values of the metrics. */
public List<Metric> getMetrics() {
return metrics;
}
/** Current values of the metrics. */
public void setMetrics(List<Metric> metrics) {
this.metrics = metrics;
}
/** Timestamp title. */
public String getTitle() {
return title;
}
/** Timestamp title. */
public void setTitle(String title) {
this.title = title;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/performancetimeline/TimelineEventAdded.java
|
package com.github.kklisura.cdt.protocol.v2023.events.performancetimeline;
/*-
* #%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.performancetimeline.TimelineEvent;
/** Sent when a performance timeline event is added. See reportPerformanceTimeline method. */
public class TimelineEventAdded {
private TimelineEvent event;
public TimelineEvent getEvent() {
return event;
}
public void setEvent(TimelineEvent event) {
this.event = event;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/preload/PrefetchStatusUpdated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.preload;
/*-
* #%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.preload.PrefetchStatus;
import com.github.kklisura.cdt.protocol.v2023.types.preload.PreloadingAttemptKey;
import com.github.kklisura.cdt.protocol.v2023.types.preload.PreloadingStatus;
/** Fired when a prefetch attempt is updated. */
public class PrefetchStatusUpdated {
private PreloadingAttemptKey key;
private String initiatingFrameId;
private String prefetchUrl;
private PreloadingStatus status;
private PrefetchStatus prefetchStatus;
private String requestId;
public PreloadingAttemptKey getKey() {
return key;
}
public void setKey(PreloadingAttemptKey key) {
this.key = key;
}
/** The frame id of the frame initiating prefetch. */
public String getInitiatingFrameId() {
return initiatingFrameId;
}
/** The frame id of the frame initiating prefetch. */
public void setInitiatingFrameId(String initiatingFrameId) {
this.initiatingFrameId = initiatingFrameId;
}
public String getPrefetchUrl() {
return prefetchUrl;
}
public void setPrefetchUrl(String prefetchUrl) {
this.prefetchUrl = prefetchUrl;
}
public PreloadingStatus getStatus() {
return status;
}
public void setStatus(PreloadingStatus status) {
this.status = status;
}
public PrefetchStatus getPrefetchStatus() {
return prefetchStatus;
}
public void setPrefetchStatus(PrefetchStatus prefetchStatus) {
this.prefetchStatus = prefetchStatus;
}
public String getRequestId() {
return requestId;
}
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/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/preload/PreloadEnabledStateUpdated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.preload;
/*-
* #%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%
*/
/** Fired when a preload enabled state is updated. */
public class PreloadEnabledStateUpdated {
private Boolean disabledByPreference;
private Boolean disabledByDataSaver;
private Boolean disabledByBatterySaver;
private Boolean disabledByHoldbackPrefetchSpeculationRules;
private Boolean disabledByHoldbackPrerenderSpeculationRules;
public Boolean getDisabledByPreference() {
return disabledByPreference;
}
public void setDisabledByPreference(Boolean disabledByPreference) {
this.disabledByPreference = disabledByPreference;
}
public Boolean getDisabledByDataSaver() {
return disabledByDataSaver;
}
public void setDisabledByDataSaver(Boolean disabledByDataSaver) {
this.disabledByDataSaver = disabledByDataSaver;
}
public Boolean getDisabledByBatterySaver() {
return disabledByBatterySaver;
}
public void setDisabledByBatterySaver(Boolean disabledByBatterySaver) {
this.disabledByBatterySaver = disabledByBatterySaver;
}
public Boolean getDisabledByHoldbackPrefetchSpeculationRules() {
return disabledByHoldbackPrefetchSpeculationRules;
}
public void setDisabledByHoldbackPrefetchSpeculationRules(
Boolean disabledByHoldbackPrefetchSpeculationRules) {
this.disabledByHoldbackPrefetchSpeculationRules = disabledByHoldbackPrefetchSpeculationRules;
}
public Boolean getDisabledByHoldbackPrerenderSpeculationRules() {
return disabledByHoldbackPrerenderSpeculationRules;
}
public void setDisabledByHoldbackPrerenderSpeculationRules(
Boolean disabledByHoldbackPrerenderSpeculationRules) {
this.disabledByHoldbackPrerenderSpeculationRules = disabledByHoldbackPrerenderSpeculationRules;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/preload/PreloadingAttemptSourcesUpdated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.preload;
/*-
* #%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.preload.PreloadingAttemptSource;
import java.util.List;
/** Send a list of sources for all preloading attempts in a document. */
public class PreloadingAttemptSourcesUpdated {
private String loaderId;
private List<PreloadingAttemptSource> preloadingAttemptSources;
public String getLoaderId() {
return loaderId;
}
public void setLoaderId(String loaderId) {
this.loaderId = loaderId;
}
public List<PreloadingAttemptSource> getPreloadingAttemptSources() {
return preloadingAttemptSources;
}
public void setPreloadingAttemptSources(List<PreloadingAttemptSource> preloadingAttemptSources) {
this.preloadingAttemptSources = preloadingAttemptSources;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/preload/PrerenderAttemptCompleted.java
|
package com.github.kklisura.cdt.protocol.v2023.events.preload;
/*-
* #%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.preload.PreloadingAttemptKey;
import com.github.kklisura.cdt.protocol.v2023.types.preload.PrerenderFinalStatus;
/** Fired when a prerender attempt is completed. */
public class PrerenderAttemptCompleted {
private PreloadingAttemptKey key;
private String initiatingFrameId;
private String prerenderingUrl;
private PrerenderFinalStatus finalStatus;
@Optional
private String disallowedApiMethod;
public PreloadingAttemptKey getKey() {
return key;
}
public void setKey(PreloadingAttemptKey key) {
this.key = key;
}
/** The frame id of the frame initiating prerendering. */
public String getInitiatingFrameId() {
return initiatingFrameId;
}
/** The frame id of the frame initiating prerendering. */
public void setInitiatingFrameId(String initiatingFrameId) {
this.initiatingFrameId = initiatingFrameId;
}
public String getPrerenderingUrl() {
return prerenderingUrl;
}
public void setPrerenderingUrl(String prerenderingUrl) {
this.prerenderingUrl = prerenderingUrl;
}
public PrerenderFinalStatus getFinalStatus() {
return finalStatus;
}
public void setFinalStatus(PrerenderFinalStatus finalStatus) {
this.finalStatus = finalStatus;
}
/**
* This is used to give users more information about the name of the API call that is incompatible
* with prerender and has caused the cancellation of the attempt
*/
public String getDisallowedApiMethod() {
return disallowedApiMethod;
}
/**
* This is used to give users more information about the name of the API call that is incompatible
* with prerender and has caused the cancellation of the attempt
*/
public void setDisallowedApiMethod(String disallowedApiMethod) {
this.disallowedApiMethod = disallowedApiMethod;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/preload/PrerenderStatusUpdated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.preload;
/*-
* #%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.preload.PreloadingAttemptKey;
import com.github.kklisura.cdt.protocol.v2023.types.preload.PreloadingStatus;
import com.github.kklisura.cdt.protocol.v2023.types.preload.PrerenderFinalStatus;
/** Fired when a prerender attempt is updated. */
public class PrerenderStatusUpdated {
private PreloadingAttemptKey key;
private PreloadingStatus status;
@Optional
private PrerenderFinalStatus prerenderStatus;
@Optional private String disallowedMojoInterface;
public PreloadingAttemptKey getKey() {
return key;
}
public void setKey(PreloadingAttemptKey key) {
this.key = key;
}
public PreloadingStatus getStatus() {
return status;
}
public void setStatus(PreloadingStatus status) {
this.status = status;
}
public PrerenderFinalStatus getPrerenderStatus() {
return prerenderStatus;
}
public void setPrerenderStatus(PrerenderFinalStatus prerenderStatus) {
this.prerenderStatus = prerenderStatus;
}
/**
* This is used to give users more information about the name of Mojo interface that is
* incompatible with prerender and has caused the cancellation of the attempt.
*/
public String getDisallowedMojoInterface() {
return disallowedMojoInterface;
}
/**
* This is used to give users more information about the name of Mojo interface that is
* incompatible with prerender and has caused the cancellation of the attempt.
*/
public void setDisallowedMojoInterface(String disallowedMojoInterface) {
this.disallowedMojoInterface = disallowedMojoInterface;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/preload/RuleSetRemoved.java
|
package com.github.kklisura.cdt.protocol.v2023.events.preload;
/*-
* #%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 RuleSetRemoved {
private String id;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/preload/RuleSetUpdated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.preload;
/*-
* #%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.preload.RuleSet;
/** Upsert. Currently, it is only emitted when a rule set added. */
public class RuleSetUpdated {
private RuleSet ruleSet;
public RuleSet getRuleSet() {
return ruleSet;
}
public void setRuleSet(RuleSet ruleSet) {
this.ruleSet = ruleSet;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/profiler/ConsoleProfileFinished.java
|
package com.github.kklisura.cdt.protocol.v2023.events.profiler;
/*-
* #%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.debugger.Location;
import com.github.kklisura.cdt.protocol.v2023.types.profiler.Profile;
public class ConsoleProfileFinished {
private String id;
private Location location;
private Profile profile;
@Optional
private String title;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
/** Location of console.profileEnd(). */
public Location getLocation() {
return location;
}
/** Location of console.profileEnd(). */
public void setLocation(Location location) {
this.location = location;
}
public Profile getProfile() {
return profile;
}
public void setProfile(Profile profile) {
this.profile = profile;
}
/** Profile title passed as an argument to console.profile(). */
public String getTitle() {
return title;
}
/** Profile title passed as an argument to console.profile(). */
public void setTitle(String title) {
this.title = title;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/profiler/ConsoleProfileStarted.java
|
package com.github.kklisura.cdt.protocol.v2023.events.profiler;
/*-
* #%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.debugger.Location;
/** Sent when new profile recording is started using console.profile() call. */
public class ConsoleProfileStarted {
private String id;
private Location location;
@Optional
private String title;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
/** Location of console.profile(). */
public Location getLocation() {
return location;
}
/** Location of console.profile(). */
public void setLocation(Location location) {
this.location = location;
}
/** Profile title passed as an argument to console.profile(). */
public String getTitle() {
return title;
}
/** Profile title passed as an argument to console.profile(). */
public void setTitle(String title) {
this.title = title;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/profiler/PreciseCoverageDeltaUpdate.java
|
package com.github.kklisura.cdt.protocol.v2023.events.profiler;
/*-
* #%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.types.profiler.ScriptCoverage;
import java.util.List;
/**
* Reports coverage delta since the last poll (either from an event like this, or from
* `takePreciseCoverage` for the current isolate. May only be sent if precise code coverage has been
* started. This event can be trigged by the embedder to, for example, trigger collection of
* coverage data immediately at a certain point in time.
*/
@Experimental
public class PreciseCoverageDeltaUpdate {
private Double timestamp;
private String occasion;
private List<ScriptCoverage> result;
/**
* Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
*/
public Double getTimestamp() {
return timestamp;
}
/**
* Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
*/
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
/** Identifier for distinguishing coverage events. */
public String getOccasion() {
return occasion;
}
/** Identifier for distinguishing coverage events. */
public void setOccasion(String occasion) {
this.occasion = occasion;
}
/** Coverage data for the current isolate. */
public List<ScriptCoverage> getResult() {
return result;
}
/** Coverage data for the current isolate. */
public void setResult(List<ScriptCoverage> result) {
this.result = result;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/runtime/BindingCalled.java
|
package com.github.kklisura.cdt.protocol.v2023.events.runtime;
/*-
* #%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;
/** Notification is issued every time when binding is called. */
@Experimental
public class BindingCalled {
private String name;
private String payload;
private Integer executionContextId;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPayload() {
return payload;
}
public void setPayload(String payload) {
this.payload = payload;
}
/** Identifier of the context where the call was made. */
public Integer getExecutionContextId() {
return executionContextId;
}
/** Identifier of the context where the call was made. */
public void setExecutionContextId(Integer executionContextId) {
this.executionContextId = executionContextId;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/runtime/ConsoleAPICalled.java
|
package com.github.kklisura.cdt.protocol.v2023.events.runtime;
/*-
* #%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.runtime.RemoteObject;
import com.github.kklisura.cdt.protocol.v2023.types.runtime.StackTrace;
import java.util.List;
/** Issued when console API was called. */
public class ConsoleAPICalled {
private ConsoleAPICalledType type;
private List<RemoteObject> args;
private Integer executionContextId;
private Double timestamp;
@Optional
private StackTrace stackTrace;
@Experimental
@Optional private String context;
/** Type of the call. */
public ConsoleAPICalledType getType() {
return type;
}
/** Type of the call. */
public void setType(ConsoleAPICalledType type) {
this.type = type;
}
/** Call arguments. */
public List<RemoteObject> getArgs() {
return args;
}
/** Call arguments. */
public void setArgs(List<RemoteObject> args) {
this.args = args;
}
/** Identifier of the context where the call was made. */
public Integer getExecutionContextId() {
return executionContextId;
}
/** Identifier of the context where the call was made. */
public void setExecutionContextId(Integer executionContextId) {
this.executionContextId = executionContextId;
}
/** Call timestamp. */
public Double getTimestamp() {
return timestamp;
}
/** Call timestamp. */
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
/**
* Stack trace captured when the call was made. The async stack chain is automatically reported
* for the following call types: `assert`, `error`, `trace`, `warning`. For other types the async
* call chain can be retrieved using `Debugger.getStackTrace` and `stackTrace.parentId` field.
*/
public StackTrace getStackTrace() {
return stackTrace;
}
/**
* Stack trace captured when the call was made. The async stack chain is automatically reported
* for the following call types: `assert`, `error`, `trace`, `warning`. For other types the async
* call chain can be retrieved using `Debugger.getStackTrace` and `stackTrace.parentId` field.
*/
public void setStackTrace(StackTrace stackTrace) {
this.stackTrace = stackTrace;
}
/**
* Console context descriptor for calls on non-default console context (not console.*):
* 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on
* named context.
*/
public String getContext() {
return context;
}
/**
* Console context descriptor for calls on non-default console context (not console.*):
* 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on
* named context.
*/
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/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/runtime/ConsoleAPICalledType.java
|
package com.github.kklisura.cdt.protocol.v2023.events.runtime;
/*-
* #%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 the call. */
public enum ConsoleAPICalledType {
@JsonProperty("log")
LOG,
@JsonProperty("debug")
DEBUG,
@JsonProperty("info")
INFO,
@JsonProperty("error")
ERROR,
@JsonProperty("warning")
WARNING,
@JsonProperty("dir")
DIR,
@JsonProperty("dirxml")
DIRXML,
@JsonProperty("table")
TABLE,
@JsonProperty("trace")
TRACE,
@JsonProperty("clear")
CLEAR,
@JsonProperty("startGroup")
START_GROUP,
@JsonProperty("startGroupCollapsed")
START_GROUP_COLLAPSED,
@JsonProperty("endGroup")
END_GROUP,
@JsonProperty("assert")
ASSERT,
@JsonProperty("profile")
PROFILE,
@JsonProperty("profileEnd")
PROFILE_END,
@JsonProperty("count")
COUNT,
@JsonProperty("timeEnd")
TIME_END
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/runtime/ExceptionRevoked.java
|
package com.github.kklisura.cdt.protocol.v2023.events.runtime;
/*-
* #%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%
*/
/** Issued when unhandled exception was revoked. */
public class ExceptionRevoked {
private String reason;
private Integer exceptionId;
/** Reason describing why exception was revoked. */
public String getReason() {
return reason;
}
/** Reason describing why exception was revoked. */
public void setReason(String reason) {
this.reason = reason;
}
/** The id of revoked exception, as reported in `exceptionThrown`. */
public Integer getExceptionId() {
return exceptionId;
}
/** The id of revoked exception, as reported in `exceptionThrown`. */
public void setExceptionId(Integer exceptionId) {
this.exceptionId = exceptionId;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/runtime/ExceptionThrown.java
|
package com.github.kklisura.cdt.protocol.v2023.events.runtime;
/*-
* #%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.runtime.ExceptionDetails;
/** Issued when exception was thrown and unhandled. */
public class ExceptionThrown {
private Double timestamp;
private ExceptionDetails exceptionDetails;
/** Timestamp of the exception. */
public Double getTimestamp() {
return timestamp;
}
/** Timestamp of the exception. */
public void setTimestamp(Double timestamp) {
this.timestamp = timestamp;
}
public ExceptionDetails getExceptionDetails() {
return exceptionDetails;
}
public void setExceptionDetails(ExceptionDetails exceptionDetails) {
this.exceptionDetails = exceptionDetails;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/runtime/ExecutionContextCreated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.runtime;
/*-
* #%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.runtime.ExecutionContextDescription;
/** Issued when new execution context is created. */
public class ExecutionContextCreated {
private ExecutionContextDescription context;
/** A newly created execution context. */
public ExecutionContextDescription getContext() {
return context;
}
/** A newly created execution context. */
public void setContext(ExecutionContextDescription context) {
this.context = context;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/runtime/ExecutionContextDestroyed.java
|
package com.github.kklisura.cdt.protocol.v2023.events.runtime;
/*-
* #%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;
/** Issued when execution context is destroyed. */
public class ExecutionContextDestroyed {
@Deprecated private Integer executionContextId;
@Experimental
private String executionContextUniqueId;
/** Id of the destroyed context */
public Integer getExecutionContextId() {
return executionContextId;
}
/** Id of the destroyed context */
public void setExecutionContextId(Integer executionContextId) {
this.executionContextId = executionContextId;
}
/** Unique Id of the destroyed context */
public String getExecutionContextUniqueId() {
return executionContextUniqueId;
}
/** Unique Id of the destroyed context */
public void setExecutionContextUniqueId(String executionContextUniqueId) {
this.executionContextUniqueId = executionContextUniqueId;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/runtime/ExecutionContextsCleared.java
|
package com.github.kklisura.cdt.protocol.v2023.events.runtime;
/*-
* #%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%
*/
/** Issued when all executionContexts were cleared in browser */
public class ExecutionContextsCleared {}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/runtime/InspectRequested.java
|
package com.github.kklisura.cdt.protocol.v2023.events.runtime;
/*-
* #%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.runtime.RemoteObject;
import java.util.Map;
/**
* Issued when object should be inspected (for example, as a result of inspect() command line API
* call).
*/
public class InspectRequested {
private RemoteObject object;
private Map<String, Object> hints;
@Experimental
@Optional
private Integer executionContextId;
public RemoteObject getObject() {
return object;
}
public void setObject(RemoteObject object) {
this.object = object;
}
public Map<String, Object> getHints() {
return hints;
}
public void setHints(Map<String, Object> hints) {
this.hints = hints;
}
/** Identifier of the context where the call was made. */
public Integer getExecutionContextId() {
return executionContextId;
}
/** Identifier of the context where the call was made. */
public void setExecutionContextId(Integer executionContextId) {
this.executionContextId = executionContextId;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/security/CertificateError.java
|
package com.github.kklisura.cdt.protocol.v2023.events.security;
/*-
* #%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%
*/
/**
* There is a certificate error. If overriding certificate errors is enabled, then it should be
* handled with the `handleCertificateError` command. Note: this event does not fire if the
* certificate error has been allowed internally. Only one client per target should override
* certificate errors at the same time.
*/
@Deprecated
public class CertificateError {
private Integer eventId;
private String errorType;
private String requestURL;
/** The ID of the event. */
public Integer getEventId() {
return eventId;
}
/** The ID of the event. */
public void setEventId(Integer eventId) {
this.eventId = eventId;
}
/** The type of the error. */
public String getErrorType() {
return errorType;
}
/** The type of the error. */
public void setErrorType(String errorType) {
this.errorType = errorType;
}
/** The url that was requested. */
public String getRequestURL() {
return requestURL;
}
/** The url that was requested. */
public void setRequestURL(String requestURL) {
this.requestURL = requestURL;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/security/SecurityStateChanged.java
|
package com.github.kklisura.cdt.protocol.v2023.events.security;
/*-
* #%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.security.InsecureContentStatus;
import com.github.kklisura.cdt.protocol.v2023.types.security.SecurityState;
import com.github.kklisura.cdt.protocol.v2023.types.security.SecurityStateExplanation;
import java.util.List;
/** The security state of the page changed. No longer being sent. */
@Deprecated
public class SecurityStateChanged {
private SecurityState securityState;
@Deprecated private Boolean schemeIsCryptographic;
@Deprecated private List<SecurityStateExplanation> explanations;
@Deprecated private InsecureContentStatus insecureContentStatus;
@Deprecated @Optional
private String summary;
/** Security state. */
public SecurityState getSecurityState() {
return securityState;
}
/** Security state. */
public void setSecurityState(SecurityState securityState) {
this.securityState = securityState;
}
/** True if the page was loaded over cryptographic transport such as HTTPS. */
public Boolean getSchemeIsCryptographic() {
return schemeIsCryptographic;
}
/** True if the page was loaded over cryptographic transport such as HTTPS. */
public void setSchemeIsCryptographic(Boolean schemeIsCryptographic) {
this.schemeIsCryptographic = schemeIsCryptographic;
}
/** Previously a list of explanations for the security state. Now always empty. */
public List<SecurityStateExplanation> getExplanations() {
return explanations;
}
/** Previously a list of explanations for the security state. Now always empty. */
public void setExplanations(List<SecurityStateExplanation> explanations) {
this.explanations = explanations;
}
/** Information about insecure content on the page. */
public InsecureContentStatus getInsecureContentStatus() {
return insecureContentStatus;
}
/** Information about insecure content on the page. */
public void setInsecureContentStatus(InsecureContentStatus insecureContentStatus) {
this.insecureContentStatus = insecureContentStatus;
}
/** Overrides user-visible description of the state. Always omitted. */
public String getSummary() {
return summary;
}
/** Overrides user-visible description of the state. Always omitted. */
public void setSummary(String summary) {
this.summary = summary;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/security/VisibleSecurityStateChanged.java
|
package com.github.kklisura.cdt.protocol.v2023.events.security;
/*-
* #%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.types.security.VisibleSecurityState;
/** The security state of the page changed. */
@Experimental
public class VisibleSecurityStateChanged {
private VisibleSecurityState visibleSecurityState;
/** Security state information about the page. */
public VisibleSecurityState getVisibleSecurityState() {
return visibleSecurityState;
}
/** Security state information about the page. */
public void setVisibleSecurityState(VisibleSecurityState visibleSecurityState) {
this.visibleSecurityState = visibleSecurityState;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/serviceworker/WorkerErrorReported.java
|
package com.github.kklisura.cdt.protocol.v2023.events.serviceworker;
/*-
* #%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.serviceworker.ServiceWorkerErrorMessage;
public class WorkerErrorReported {
private ServiceWorkerErrorMessage errorMessage;
public ServiceWorkerErrorMessage getErrorMessage() {
return errorMessage;
}
public void setErrorMessage(ServiceWorkerErrorMessage errorMessage) {
this.errorMessage = errorMessage;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/serviceworker/WorkerRegistrationUpdated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.serviceworker;
/*-
* #%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.serviceworker.ServiceWorkerRegistration;
import java.util.List;
public class WorkerRegistrationUpdated {
private List<ServiceWorkerRegistration> registrations;
public List<ServiceWorkerRegistration> getRegistrations() {
return registrations;
}
public void setRegistrations(List<ServiceWorkerRegistration> registrations) {
this.registrations = registrations;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/serviceworker/WorkerVersionUpdated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.serviceworker;
/*-
* #%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.serviceworker.ServiceWorkerVersion;
import java.util.List;
public class WorkerVersionUpdated {
private List<ServiceWorkerVersion> versions;
public List<ServiceWorkerVersion> getVersions() {
return versions;
}
public void setVersions(List<ServiceWorkerVersion> versions) {
this.versions = versions;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/storage/AttributionReportingSourceRegistered.java
|
package com.github.kklisura.cdt.protocol.v2023.events.storage;
/*-
* #%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.types.storage.AttributionReportingSourceRegistration;
import com.github.kklisura.cdt.protocol.v2023.types.storage.AttributionReportingSourceRegistrationResult;
/** TODO(crbug.com/1458532): Add other Attribution Reporting events, e.g. trigger registration. */
@Experimental
public class AttributionReportingSourceRegistered {
private AttributionReportingSourceRegistration registration;
private AttributionReportingSourceRegistrationResult result;
public AttributionReportingSourceRegistration getRegistration() {
return registration;
}
public void setRegistration(AttributionReportingSourceRegistration registration) {
this.registration = registration;
}
public AttributionReportingSourceRegistrationResult getResult() {
return result;
}
public void setResult(AttributionReportingSourceRegistrationResult result) {
this.result = result;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/storage/CacheStorageContentUpdated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.storage;
/*-
* #%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%
*/
/** A cache's contents have been modified. */
public class CacheStorageContentUpdated {
private String origin;
private String storageKey;
private String bucketId;
private String cacheName;
/** Origin to update. */
public String getOrigin() {
return origin;
}
/** Origin to update. */
public void setOrigin(String origin) {
this.origin = origin;
}
/** Storage key to update. */
public String getStorageKey() {
return storageKey;
}
/** Storage key to update. */
public void setStorageKey(String storageKey) {
this.storageKey = storageKey;
}
/** Storage bucket to update. */
public String getBucketId() {
return bucketId;
}
/** Storage bucket to update. */
public void setBucketId(String bucketId) {
this.bucketId = bucketId;
}
/** Name of cache in origin. */
public String getCacheName() {
return cacheName;
}
/** Name of cache in origin. */
public void setCacheName(String cacheName) {
this.cacheName = cacheName;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/storage/CacheStorageListUpdated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.storage;
/*-
* #%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%
*/
/** A cache has been added/deleted. */
public class CacheStorageListUpdated {
private String origin;
private String storageKey;
private String bucketId;
/** Origin to update. */
public String getOrigin() {
return origin;
}
/** Origin to update. */
public void setOrigin(String origin) {
this.origin = origin;
}
/** Storage key to update. */
public String getStorageKey() {
return storageKey;
}
/** Storage key to update. */
public void setStorageKey(String storageKey) {
this.storageKey = storageKey;
}
/** Storage bucket to update. */
public String getBucketId() {
return bucketId;
}
/** Storage bucket to update. */
public void setBucketId(String bucketId) {
this.bucketId = bucketId;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/storage/IndexedDBContentUpdated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.storage;
/*-
* #%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%
*/
/** The origin's IndexedDB object store has been modified. */
public class IndexedDBContentUpdated {
private String origin;
private String storageKey;
private String bucketId;
private String databaseName;
private String objectStoreName;
/** Origin to update. */
public String getOrigin() {
return origin;
}
/** Origin to update. */
public void setOrigin(String origin) {
this.origin = origin;
}
/** Storage key to update. */
public String getStorageKey() {
return storageKey;
}
/** Storage key to update. */
public void setStorageKey(String storageKey) {
this.storageKey = storageKey;
}
/** Storage bucket to update. */
public String getBucketId() {
return bucketId;
}
/** Storage bucket to update. */
public void setBucketId(String bucketId) {
this.bucketId = bucketId;
}
/** Database to update. */
public String getDatabaseName() {
return databaseName;
}
/** Database to update. */
public void setDatabaseName(String databaseName) {
this.databaseName = databaseName;
}
/** ObjectStore to update. */
public String getObjectStoreName() {
return objectStoreName;
}
/** ObjectStore to update. */
public void setObjectStoreName(String objectStoreName) {
this.objectStoreName = objectStoreName;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/storage/IndexedDBListUpdated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.storage;
/*-
* #%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%
*/
/** The origin's IndexedDB database list has been modified. */
public class IndexedDBListUpdated {
private String origin;
private String storageKey;
private String bucketId;
/** Origin to update. */
public String getOrigin() {
return origin;
}
/** Origin to update. */
public void setOrigin(String origin) {
this.origin = origin;
}
/** Storage key to update. */
public String getStorageKey() {
return storageKey;
}
/** Storage key to update. */
public void setStorageKey(String storageKey) {
this.storageKey = storageKey;
}
/** Storage bucket to update. */
public String getBucketId() {
return bucketId;
}
/** Storage bucket to update. */
public void setBucketId(String bucketId) {
this.bucketId = bucketId;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/storage/InterestGroupAccessed.java
|
package com.github.kklisura.cdt.protocol.v2023.events.storage;
/*-
* #%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.storage.InterestGroupAccessType;
/** One of the interest groups was accessed by the associated page. */
public class InterestGroupAccessed {
private Double accessTime;
private InterestGroupAccessType type;
private String ownerOrigin;
private String name;
public Double getAccessTime() {
return accessTime;
}
public void setAccessTime(Double accessTime) {
this.accessTime = accessTime;
}
public InterestGroupAccessType getType() {
return type;
}
public void setType(InterestGroupAccessType type) {
this.type = type;
}
public String getOwnerOrigin() {
return ownerOrigin;
}
public void setOwnerOrigin(String ownerOrigin) {
this.ownerOrigin = ownerOrigin;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/storage/SharedStorageAccessed.java
|
package com.github.kklisura.cdt.protocol.v2023.events.storage;
/*-
* #%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.storage.SharedStorageAccessParams;
import com.github.kklisura.cdt.protocol.v2023.types.storage.SharedStorageAccessType;
/**
* Shared storage was accessed by the associated page. The following parameters are included in all
* events.
*/
public class SharedStorageAccessed {
private Double accessTime;
private SharedStorageAccessType type;
private String mainFrameId;
private String ownerOrigin;
private SharedStorageAccessParams params;
/** Time of the access. */
public Double getAccessTime() {
return accessTime;
}
/** Time of the access. */
public void setAccessTime(Double accessTime) {
this.accessTime = accessTime;
}
/** Enum value indicating the Shared Storage API method invoked. */
public SharedStorageAccessType getType() {
return type;
}
/** Enum value indicating the Shared Storage API method invoked. */
public void setType(SharedStorageAccessType type) {
this.type = type;
}
/** DevTools Frame Token for the primary frame tree's root. */
public String getMainFrameId() {
return mainFrameId;
}
/** DevTools Frame Token for the primary frame tree's root. */
public void setMainFrameId(String mainFrameId) {
this.mainFrameId = mainFrameId;
}
/** Serialized origin for the context that invoked the Shared Storage API. */
public String getOwnerOrigin() {
return ownerOrigin;
}
/** Serialized origin for the context that invoked the Shared Storage API. */
public void setOwnerOrigin(String ownerOrigin) {
this.ownerOrigin = ownerOrigin;
}
/**
* The sub-parameters warapped by `params` are all optional and their presence/absence depends on
* `type`.
*/
public SharedStorageAccessParams getParams() {
return params;
}
/**
* The sub-parameters warapped by `params` are all optional and their presence/absence depends on
* `type`.
*/
public void setParams(SharedStorageAccessParams params) {
this.params = params;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/storage/StorageBucketCreatedOrUpdated.java
|
package com.github.kklisura.cdt.protocol.v2023.events.storage;
/*-
* #%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.storage.StorageBucketInfo;
public class StorageBucketCreatedOrUpdated {
private StorageBucketInfo bucketInfo;
public StorageBucketInfo getBucketInfo() {
return bucketInfo;
}
public void setBucketInfo(StorageBucketInfo bucketInfo) {
this.bucketInfo = bucketInfo;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/storage/StorageBucketDeleted.java
|
package com.github.kklisura.cdt.protocol.v2023.events.storage;
/*-
* #%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 StorageBucketDeleted {
private String bucketId;
public String getBucketId() {
return bucketId;
}
public void setBucketId(String bucketId) {
this.bucketId = bucketId;
}
}
|
0
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events
|
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/events/target/AttachedToTarget.java
|
package com.github.kklisura.cdt.protocol.v2023.events.target;
/*-
* #%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.types.target.TargetInfo;
/** Issued when attached to target because of auto-attach or `attachToTarget` command. */
@Experimental
public class AttachedToTarget {
private String sessionId;
private TargetInfo targetInfo;
private Boolean waitingForDebugger;
/** Identifier assigned to the session used to send/receive messages. */
public String getSessionId() {
return sessionId;
}
/** Identifier assigned to the session used to send/receive messages. */
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
}
public TargetInfo getTargetInfo() {
return targetInfo;
}
public void setTargetInfo(TargetInfo targetInfo) {
this.targetInfo = targetInfo;
}
public Boolean getWaitingForDebugger() {
return waitingForDebugger;
}
public void setWaitingForDebugger(Boolean waitingForDebugger) {
this.waitingForDebugger = waitingForDebugger;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.