|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cedarsoft.rest.UriContext
public class UriContext
Represents the URI context.
There is a local context (getUriBuilder()) which represents the current position.
And there is access to the base uri using getBaseUriBuilder().
| Constructor Summary | |
|---|---|
UriContext(javax.ws.rs.core.UriBuilder baseUriBuilder,
javax.ws.rs.core.UriBuilder uriBuilder)
|
|
| Method Summary | |
|---|---|
UriContext |
create(javax.ws.rs.core.UriBuilder newUriBuilder)
|
javax.ws.rs.core.UriBuilder |
getBaseUriBuilder()
Returns a clone of the base uri builder |
URI |
getUri()
Returns the URI |
javax.ws.rs.core.UriBuilder |
getUriBuilder()
Returns the uri builder for the local context |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UriContext(@NotNull
javax.ws.rs.core.UriBuilder baseUriBuilder,
@NotNull
javax.ws.rs.core.UriBuilder uriBuilder)
| Method Detail |
|---|
@NotNull public javax.ws.rs.core.UriBuilder getBaseUriBuilder()
@NotNull public javax.ws.rs.core.UriBuilder getUriBuilder()
@NotNull public URI getUri()
@NotNull
public UriContext create(@NotNull
javax.ws.rs.core.UriBuilder newUriBuilder)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||