public abstract class ClientProxy extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
password |
protected String |
userName |
Modifier and Type | Method and Description |
---|---|
String |
password() |
abstract Proxy |
proxy() |
static ClientProxy |
proxy(Proxy proxy) |
static Optional<ClientProxy> |
proxyFromConfiguration(javax.ws.rs.core.Configuration configuration) |
static Optional<ClientProxy> |
proxyFromProperties(URI requestUri) |
static Optional<ClientProxy> |
proxyFromRequest(ClientRequest request) |
static void |
setBasicAuthorizationHeader(javax.ws.rs.core.MultivaluedMap<String,Object> headers,
ClientProxy proxy) |
abstract Proxy.Type |
type() |
abstract URI |
uri() |
String |
userName() |
public static Optional<ClientProxy> proxyFromRequest(ClientRequest request)
public static Optional<ClientProxy> proxyFromProperties(URI requestUri)
public static Optional<ClientProxy> proxyFromConfiguration(javax.ws.rs.core.Configuration configuration)
public static ClientProxy proxy(Proxy proxy)
public static void setBasicAuthorizationHeader(javax.ws.rs.core.MultivaluedMap<String,Object> headers, ClientProxy proxy)
public abstract Proxy proxy()
public abstract URI uri()
public abstract Proxy.Type type()
public String password()
public String userName()
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.