@ExperimentalApi public class ContentBody extends FormattedBody
Content
body.Modifier and Type | Class and Description |
---|---|
static class |
ContentBody.ContentBodyBuilder |
FormattedBody.BaseFormattedBodyBuilder<T extends FormattedBody.BaseFormattedBodyBuilder<T>>, FormattedBody.FormattedBodyBuilder
Constructor and Description |
---|
ContentBody(ContentBody.ContentBodyBuilder contentBodyBuilder) |
ContentBody(ContentRepresentation representation,
String value) |
ContentBody(ContentRepresentation representation,
String value,
Content content)
Deprecated.
since 5.9 , use
contentBodyBuilder() |
ContentBody(ContentRepresentation representation,
String value,
ContentId contentId)
Deprecated.
since 5.9 , use
contentBodyBuilder() |
ContentBody(ContentRepresentation representation,
String value,
Reference<Content> contentReference)
Deprecated.
since 5.9 , use
contentBodyBuilder() |
ContentBody(ContentRepresentation representation,
String value,
Reference<Content> contentReference,
Reference<WebResourceDependencies> webresource)
Deprecated.
since 5.9 , use
contentBodyBuilder() |
Modifier and Type | Method and Description |
---|---|
static ContentBody.ContentBodyBuilder |
contentBodyBuilder() |
static ContentBody |
emptyBody(ContentRepresentation representation,
Reference<Content> contentReference) |
Reference<Content> |
getContentRef() |
boolean |
hasExpandedContentRef() |
builder, getRepresentation, getValue, getWebresource
@Deprecated public ContentBody(ContentRepresentation representation, String value, Reference<Content> contentReference)
contentBodyBuilder()
@Deprecated public ContentBody(ContentRepresentation representation, String value, Reference<Content> contentReference, Reference<WebResourceDependencies> webresource)
contentBodyBuilder()
@Deprecated public ContentBody(ContentRepresentation representation, String value, ContentId contentId)
contentBodyBuilder()
@Deprecated public ContentBody(ContentRepresentation representation, String value, Content content)
contentBodyBuilder()
public ContentBody(ContentRepresentation representation, String value)
public ContentBody(ContentBody.ContentBodyBuilder contentBodyBuilder)
public static ContentBody emptyBody(ContentRepresentation representation, Reference<Content> contentReference)
public static ContentBody.ContentBodyBuilder contentBodyBuilder()
public boolean hasExpandedContentRef()
Copyright © 2003–2017 Atlassian. All rights reserved.