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 InetSocketAddressgetInetSocketAddress()The inet socket address to which the connection is done.ProxygetProxy()The proxy that is used to connect to the URL.URLgetUrl()The URL of the route.
-
-
-
Method Detail
-
getUrl
URL getUrl()
The URL of the route.- Returns:
- The URL of the route.
-
getProxy
Proxy getProxy()
The proxy that is used to connect to the URL.- Returns:
- The proxy that is used to connect to the URL.
-
getInetSocketAddress
InetSocketAddress getInetSocketAddress()
The inet socket address to which the connection is done.- Returns:
- The inet socket address to which the connection is done.
-
-