List of usage examples for org.springframework.web.util UriComponentsBuilder uri
public UriComponentsBuilder uri(URI uri)
From source file:org.cloudfoundry.identity.client.UaaContextFactory.java
/** * Returns the URI/*from w ww . j a va 2s .c om*/ * @return */ public URI getTokenUri() { UriComponentsBuilder tokenURI = UriComponentsBuilder.newInstance(); tokenURI.uri(uaaURI); tokenURI.path(tokenPath); return tokenURI.build().toUri(); }
From source file:org.cloudfoundry.identity.client.UaaContextFactory.java
/** * Returns the authorize URI//from ww w .j av a2 s.c o m * @return the UAA authorization URI */ public URI getAuthorizeUri() { UriComponentsBuilder authorizationURI = UriComponentsBuilder.newInstance(); authorizationURI.uri(uaaURI); authorizationURI.path(authorizePath); return authorizationURI.build().toUri(); }