public interface HttpRequest
HttpRequest objects are immutable they can be shared.
Modifier and Type | Method and Description |
---|---|
WebTarget |
retryableTarget(String uri,
RetryContext retryContext) |
WebTarget |
retryableTarget(URI uri,
RetryContext retryContext) |
WebTarget |
target(String uri)
Build a new web resource target.
|
WebTarget |
target(URI uri)
Build a new web resource target.
|
WebTarget target(URI uri)
uri
- web resource URI. Must not be null
.NullPointerException
- in case the supplied argument is null
.WebTarget target(String uri)
uri
- The string to be parsed into a URINullPointerException
- If str
is null
IllegalArgumentException
- If the given string violates RFC 2396@Beta WebTarget retryableTarget(URI uri, RetryContext retryContext)
uri
- web resource URI. Must not be null
.retryContext
- retryContext. Must not be null
.NullPointerException
- in case the supplied argument is null
.@Beta WebTarget retryableTarget(String uri, RetryContext retryContext)
uri
- The string to be parsed into a URIretryContext
- retryContext. Must not be null
.NullPointerException
- If str
is null
IllegalArgumentException
- If the given string violates RFC 2396Copyright © 2021. All rights reserved.