public static class ContentTypeFilter.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ContentTypeFilter.Builder |
allowContentType(ContentTypeName contentType) |
ContentTypeFilter.Builder |
allowContentType(String contentTypeName) |
ContentTypeFilter.Builder |
allowContentTypes(ContentTypeNames contentTypes) |
ContentTypeFilter |
build() |
ContentTypeFilter.Builder |
defaultAllow() |
ContentTypeFilter.Builder |
defaultDeny() |
ContentTypeFilter.Builder |
denyContentType(ContentTypeName contentType) |
ContentTypeFilter.Builder |
denyContentType(String contentTypeName) |
ContentTypeFilter.Builder |
denyContentTypes(ContentTypeNames contentTypes) |
public ContentTypeFilter.Builder defaultAllow()
public ContentTypeFilter.Builder defaultDeny()
public ContentTypeFilter.Builder allowContentType(ContentTypeName contentType)
public ContentTypeFilter.Builder allowContentType(String contentTypeName)
public ContentTypeFilter.Builder allowContentTypes(ContentTypeNames contentTypes)
public ContentTypeFilter.Builder denyContentType(ContentTypeName contentType)
public ContentTypeFilter.Builder denyContentType(String contentTypeName)
public ContentTypeFilter.Builder denyContentTypes(ContentTypeNames contentTypes)
public ContentTypeFilter build()