public final class LinkBuilder extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
LinkBuilder(RendererContext resourceContext,
String rel,
String href,
javax.ws.rs.core.MediaType mediaType) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation |
build() |
static LinkBuilder |
newBuilder(RendererContext resourceContext,
String rel,
javax.ws.rs.core.MediaType mediaType,
String hrefFormat,
Object... hrefArgs) |
static LinkBuilder |
newBuilder(RendererContext resourceContext,
String rel,
org.apache.isis.viewer.restfulobjects.applib.RepresentationType representationType,
String hrefFormat,
Object... hrefArgs) |
LinkBuilder |
withArguments(org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation arguments) |
LinkBuilder |
withHttpMethod(org.apache.isis.viewer.restfulobjects.applib.RestfulHttpMethod method) |
LinkBuilder |
withTitle(String title) |
LinkBuilder |
withValue(org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation value) |
protected LinkBuilder(RendererContext resourceContext, String rel, String href, javax.ws.rs.core.MediaType mediaType)
public static LinkBuilder newBuilder(RendererContext resourceContext, String rel, org.apache.isis.viewer.restfulobjects.applib.RepresentationType representationType, String hrefFormat, Object... hrefArgs)
public static LinkBuilder newBuilder(RendererContext resourceContext, String rel, javax.ws.rs.core.MediaType mediaType, String hrefFormat, Object... hrefArgs)
public LinkBuilder withHttpMethod(org.apache.isis.viewer.restfulobjects.applib.RestfulHttpMethod method)
public LinkBuilder withTitle(String title)
public LinkBuilder withArguments(org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation arguments)
public LinkBuilder withValue(org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation value)
public org.apache.isis.viewer.restfulobjects.applib.JsonRepresentation build()
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.