public final class ReST
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ReST.Builder |
Constructor and Description |
---|
ReST() |
Modifier and Type | Method and Description |
---|---|
static ReST.Builder |
builder(java.lang.String url)
Build a new ReST call for the past URL.
|
static ReST.Builder |
builder(java.net.URL url)
Build a new ReST call for the past URL.
|
@CheckReturnValue @Nonnull public static ReST.Builder builder(@Nonnull java.lang.String url) throws java.net.MalformedURLException, InvalidDataException
url
- the URL to calljava.net.MalformedURLException
- the URL is not validInvalidDataException
- the URL is not valid@CheckReturnValue @Nonnull public static ReST.Builder builder(@Nonnull java.net.URL url) throws InvalidDataException
url
- the URL to callInvalidDataException
- the URL is not validstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.