public class VisitorsHttpAuthentication extends HttpAuthentication
| Constructor and Description |
|---|
VisitorsHttpAuthentication()
Creates a VisitorsHttpAuthentication object.
|
VisitorsHttpAuthentication(String username,
String password)
Creates a VisitorsHttpAuthentication object with username and password
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthAlias()
Get the
authAlias. |
javax.ws.rs.client.Client |
getClient(Map<String,Object> params)
Get a client object
|
String |
getHeaderName()
Get the
headerName. |
void |
setAuthAlias(String authAlias)
Set the
authAlias. |
void |
setHeaderName(String headerName)
Set the
headerName. |
getPassword, getUsername, setPassword, setUsernamenewClientpublic VisitorsHttpAuthentication()
Creates a VisitorsHttpAuthentication object.
public javax.ws.rs.client.Client getClient(Map<String,Object> params)
getClient in interface AuthTypegetClient in class HttpAuthenticationparams - Map object. Map for Jersey Client initialization.Client object.public void setHeaderName(String headerName)
Set the headerName.
headerName - String object.Copyright © 2015, 2019, Oracle and/or its affiliates. All rights reserved.