@Beta public final class ContentTypeFilter extends Object implements Iterable<ContentTypeName>
Modifier and Type | Class and Description |
---|---|
static class |
ContentTypeFilter.AccessType |
static class |
ContentTypeFilter.Builder |
Constructor and Description |
---|
ContentTypeFilter(ContentTypeFilter.Builder builder) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ContentTypeFilter.AccessType |
getDefaultAccess() |
int |
hashCode() |
boolean |
isContentTypeAllowed(ContentTypeName contentType) |
Iterator<ContentTypeName> |
iterator() |
static ContentTypeFilter.Builder |
newContentFilter() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public ContentTypeFilter(ContentTypeFilter.Builder builder)
public ContentTypeFilter.AccessType getDefaultAccess()
public boolean isContentTypeAllowed(ContentTypeName contentType)
public Iterator<ContentTypeName> iterator()
iterator
in interface Iterable<ContentTypeName>
public static ContentTypeFilter.Builder newContentFilter()