use of com.linkedin.jersey.api.uri.UriBuilder in project rest.li by linkedin.
the class UpdateRequestUriBuilder method build.
@Override
public URI build() {
UpdateRequest<?> updateRequest = getRequest();
UriBuilder b = UriBuilder.fromUri(buildBaseUriWithPrefix());
appendKeyToPath(b, updateRequest.getId());
appendQueryParams(b);
return b.build();
}
use of com.linkedin.jersey.api.uri.UriBuilder in project rest.li by linkedin.
the class FindRequestUriBuilder method getUriBuilderWithoutQueryParams.
@Override
protected UriBuilder getUriBuilderWithoutQueryParams() {
UriBuilder b = super.getUriBuilderWithoutQueryParams();
appendAssocKeys(b);
return b;
}
use of com.linkedin.jersey.api.uri.UriBuilder in project rest.li by linkedin.
the class GetRequestUriBuilder method getUriBuilderWithoutQueryParams.
@Override
protected UriBuilder getUriBuilderWithoutQueryParams() {
GetRequest<?> getRequest = getRequest();
UriBuilder b = super.getUriBuilderWithoutQueryParams();
appendKeyToPath(b, getRequest.getObjectId());
return b;
}
use of com.linkedin.jersey.api.uri.UriBuilder in project rest.li by linkedin.
the class AbstractRestliRequestUriBuilder method build.
@Override
public final URI build() {
UriBuilder b = getUriBuilderWithoutQueryParams();
appendQueryParams(b);
return b.build();
}
use of com.linkedin.jersey.api.uri.UriBuilder in project rest.li by linkedin.
the class PartialUpdateEntityRequestUriBuilder method getUriBuilderWithoutQueryParams.
@Override
protected UriBuilder getUriBuilderWithoutQueryParams() {
PartialUpdateEntityRequest<?> partialUpdateEntityRequest = getRequest();
UriBuilder b = super.getUriBuilderWithoutQueryParams();
appendKeyToPath(b, partialUpdateEntityRequest.getId());
return b;
}
Aggregations