public abstract class AbstractOptionallyAuthenticatedRequest extends AbstractRequest
Client authentication methods:
Constructor and Description |
---|
AbstractOptionallyAuthenticatedRequest(URI uri,
ClientAuthentication clientAuth)
Creates a new abstract request with optional client authentication.
|
Modifier and Type | Method and Description |
---|---|
ClientAuthentication |
getClientAuthentication()
Returns the client authentication.
|
getEndpointURI
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toHTTPRequest
public AbstractOptionallyAuthenticatedRequest(URI uri, ClientAuthentication clientAuth)
uri
- The URI of the endpoint (HTTP or HTTPS) for which
the request is intended, null
if not
specified (if, for example, the
Request.toHTTPRequest()
method will not be used).clientAuth
- The client authentication, null
if none.public ClientAuthentication getClientAuthentication()
null
if none.Copyright © 2016 Connect2id Ltd.. All Rights Reserved.