Flutter Engine
The Flutter Engine
WebSocketTarget.java
Go to the documentation of this file.
1/*
2 * Copyright (c) 2015, the Dart project authors.
3 *
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except
5 * in compliance with the License. You may obtain a copy of the License at
6 *
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Unless required by applicable law or agreed to in writing, software distributed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11 * or implied. See the License for the specific language governing permissions and limitations under
12 * the License.
13 */
14package org.dartlang.vm.service.element;
15
16// This is a generated file.
17
18import com.google.gson.JsonObject;
19
20/**
21 * See getWebSocketTarget
22 */
23@SuppressWarnings({"WeakerAccess", "unused"})
24public class WebSocketTarget extends Response {
25 public WebSocketTarget(JsonObject json) {
26 super(json);
27 }
28
29 /**
30 * The web socket URI that should be used to connect to the service.
31 */
32 public String getUri() {
33 return getAsString("uri");
34 }
35}