|
18 | 18 | package org.openqa.selenium.grid.node; |
19 | 19 |
|
20 | 20 | import com.google.common.collect.ImmutableMap; |
| 21 | + |
21 | 22 | import org.openqa.selenium.BuildInfo; |
22 | 23 | import org.openqa.selenium.Capabilities; |
23 | 24 | import org.openqa.selenium.NoSuchSessionException; |
| 25 | +import org.openqa.selenium.WebDriverException; |
24 | 26 | import org.openqa.selenium.grid.data.CreateSessionRequest; |
25 | 27 | import org.openqa.selenium.grid.data.CreateSessionResponse; |
26 | 28 | import org.openqa.selenium.grid.data.NodeId; |
|
41 | 43 | import org.openqa.selenium.remote.tracing.SpanDecorator; |
42 | 44 | import org.openqa.selenium.remote.tracing.Tracer; |
43 | 45 | import org.openqa.selenium.status.HasReadyState; |
44 | | -import org.openqa.selenium.WebDriverException; |
45 | 46 |
|
46 | 47 | import java.io.IOException; |
47 | 48 | import java.net.URI; |
48 | 49 | import java.util.Map; |
49 | 50 | import java.util.ServiceLoader; |
50 | 51 | import java.util.Set; |
| 52 | +import java.util.UUID; |
51 | 53 | import java.util.logging.Logger; |
52 | 54 | import java.util.stream.Collectors; |
53 | 55 | import java.util.stream.StreamSupport; |
@@ -210,16 +212,21 @@ public ImmutableMap<String, String> getOsInfo() { |
210 | 212 | return OS_INFO; |
211 | 213 | } |
212 | 214 |
|
213 | | - public abstract Either<WebDriverException, CreateSessionResponse> newSession(CreateSessionRequest sessionRequest); |
| 215 | + public abstract Either<WebDriverException, CreateSessionResponse> newSession( |
| 216 | + CreateSessionRequest sessionRequest); |
214 | 217 |
|
215 | 218 | public abstract HttpResponse executeWebDriverCommand(HttpRequest req); |
216 | 219 |
|
217 | 220 | public abstract Session getSession(SessionId id) throws NoSuchSessionException; |
218 | 221 |
|
219 | | - public TemporaryFilesystem getTemporaryFilesystem(SessionId id) throws IOException { |
| 222 | + public TemporaryFilesystem getUploadsFilesystem(SessionId id) throws IOException { |
220 | 223 | throw new UnsupportedOperationException(); |
221 | 224 | } |
222 | 225 |
|
| 226 | + public TemporaryFilesystem getDownloadsFilesystem(UUID uuid) throws IOException { |
| 227 | + throw new UnsupportedOperationException(); |
| 228 | + } |
| 229 | + |
223 | 230 | public abstract HttpResponse uploadFile(HttpRequest req, SessionId id); |
224 | 231 |
|
225 | 232 | public abstract HttpResponse downloadFile(HttpRequest req, SessionId id); |
|
0 commit comments