Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support opaque URIs in UriComponentsBuilder [SPR-9798] #14431

Closed
spring-issuemaster opened this issue Sep 14, 2012 · 1 comment
Closed

Support opaque URIs in UriComponentsBuilder [SPR-9798] #14431

spring-issuemaster opened this issue Sep 14, 2012 · 1 comment
Assignees
Milestone

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Sep 14, 2012

Arjen Poutsma opened SPR-9798 and commented

UriComponentsBuilder is only capable of handling hierarchical URIs, not opaque URIs. Hence, the following test fails:

UriComponentsBuilder builder = UriComponentsBuilder.newInstance();
builder.scheme("mailto");
// Using path here, as there is no way to directly specify a scheme-specific part.
builder.path("foo@bar.com"); // should have been builder.schemeSpecificPart("foo@bar.com");
UriComponents result = builder.build();

assertEquals("mailto:foo@bar.com", result.toUriString()); // result is mailto:/foo@bar.com

Sub-tasks:

  • #14437 Backport "Support opaque URIs in UriComponentsBuilder"

Issue Links:

  • INT-2720 Add support for Uri Templating to the ws:outbound-gateway for all transports supported by Spring WS ("is depended on by")
  • SWS-795 Allow for MessageSenders to use URI as result of UriTemplate
@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Sep 14, 2012

Arjen Poutsma commented

See #148

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.