public interface Client
requests
. Implementations are expected to be thread-safe.Modifier and Type | Interface and Description |
---|---|
static class |
Client.Default |
static class |
Client.Proxied
Client that supports a
Proxy . |
Modifier and Type | Method and Description |
---|---|
Response |
execute(Request request,
Request.Options options)
Executes a request against its
url and returns a response. |
Response execute(Request request, Request.Options options) throws IOException
url
and returns a response.request
- safe to replay.options
- options to apply to this request.Response.Body
is absent or unread.IOException
- on a network error connecting to Request.url()
.Copyright © 2012–2023 OpenFeign. All rights reserved.