diff options
author | Vitaly Takmazov | 2019-03-15 14:11:47 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-03-15 14:55:20 +0300 |
commit | fb6d7f3b9d34032ec7ed32295b13dd556088989f (patch) | |
tree | c6fcc06b809415e01f7225f43335a26a691ab0bb /src/main/java/ru/sape/Sape.java | |
parent | 861580c3dae53fb8e57956fd44aafa79f5d2c145 (diff) |
Allow parameters in sape links
Diffstat (limited to 'src/main/java/ru/sape/Sape.java')
-rw-r--r-- | src/main/java/ru/sape/Sape.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/ru/sape/Sape.java b/src/main/java/ru/sape/Sape.java index 38577c45..a94bcc62 100644 --- a/src/main/java/ru/sape/Sape.java +++ b/src/main/java/ru/sape/Sape.java @@ -3,6 +3,8 @@ */ package ru.sape; +import java.net.URI; + public class Sape { private final String sapeUser; @@ -17,7 +19,7 @@ public class Sape { } public boolean debug = false; - public SapePageLinks getPageLinks(String requestUri, String cookie) { + public SapePageLinks getPageLinks(URI requestUri, String cookie) { return new SapePageLinks(sapePageLinkConnection, sapeUser, requestUri, cookie, debug); } } |