S - the content state type parameterpublic final class ContentType<S> extends Object
| Constructor and Description |
|---|
ContentType(String mimeType,
Class<S> stateClass)
Create a new content type.
|
public ContentType(String mimeType, Class<S> stateClass) throws NullPointerException
mimeType - the mime typestateClass - the state classNullPointerException - if any argument is nullCopyright © 2025 JBoss by Red Hat. All Rights Reserved.