Package org.javacord.api.util.auth
Interface Route
-
public interface RouteThis class represents the route to which a request is done that needs to be authenticated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.net.InetSocketAddressgetInetSocketAddress()The inet socket address to which the connection is done.java.net.ProxygetProxy()The proxy that is used to connect to the URL.java.net.URLgetUrl()The URL of the route.
-
-
-
Method Detail
-
getUrl
java.net.URL getUrl()
The URL of the route.- Returns:
- The URL of the route.
-
getProxy
java.net.Proxy getProxy()
The proxy that is used to connect to the URL.- Returns:
- The proxy that is used to connect to the URL.
-
getInetSocketAddress
java.net.InetSocketAddress getInetSocketAddress()
The inet socket address to which the connection is done.- Returns:
- The inet socket address to which the connection is done.
-
-