/** * Creates a {@link ContentType} wrapper over a {@link String} * content-type representation. * * @param contentType {@link String} content-type representation * @return a {@link ContentType} wrapper over a {@link String} * content-type representation */ public static ContentType newContentType(final String contentType) { return new ContentType(contentType); }
/** * Creates a {@link ContentType} wrapper over a {@link String} * content-type representation. * * @param contentType {@link String} content-type representation * @return a {@link ContentType} wrapper over a {@link String} * content-type representation */ public static ContentType newContentType(final String contentType) { return new ContentType(contentType); }
/** * Creates a {@link ContentType} wrapper over a {@link String} * content-type representation. * * @param contentType {@link String} content-type representation * @return a {@link ContentType} wrapper over a {@link String} * content-type representation */ public static ContentType newContentType(final String contentType) { return new ContentType(contentType); }
/** * Creates a {@link ContentType} wrapper over a {@link String} * content-type representation. * * @param contentType {@link String} content-type representation * @return a {@link ContentType} wrapper over a {@link String} * content-type representation */ public static ContentType newContentType(final String contentType) { return new ContentType(contentType); }
/** * Creates a {@link ContentType} wrapper over a {@link String} * content-type representation. * * @param contentType {@link String} content-type representation * @return a {@link ContentType} wrapper over a {@link String} * content-type representation */ public static ContentType newContentType(final String contentType) { return new ContentType(contentType); }
/** * Creates a {@link ContentType} wrapper over a {@link String} * content-type representation. * * @param contentType {@link String} content-type representation * @return a {@link ContentType} wrapper over a {@link String} * content-type representation */ public static ContentType newContentType(final String contentType) { return new ContentType(contentType); }
/** * Creates a {@link ContentType} wrapper over a {@link String} * content-type representation. * * @param contentType {@link String} content-type representation * @return a {@link ContentType} wrapper over a {@link String} * content-type representation */ public static ContentType newContentType(final String contentType) { return new ContentType(contentType); }
/** * Creates a {@link ContentType} wrapper over a {@link String} * content-type representation. * * @param contentType {@link String} content-type representation * @return a {@link ContentType} wrapper over a {@link String} * content-type representation */ public static ContentType newContentType(final String contentType) { return new ContentType(contentType); }
/** * Creates a {@link ContentType} wrapper over a {@link String} * content-type representation. * * @param contentType {@link String} content-type representation * @return a {@link ContentType} wrapper over a {@link String} * content-type representation */ public static ContentType newContentType(final String contentType) { return new ContentType(contentType); }
/** * Creates a {@link ContentType} wrapper over a {@link String} * content-type representation. * * @param contentType {@link String} content-type representation * @return a {@link ContentType} wrapper over a {@link String} * content-type representation */ public static ContentType newContentType(final String contentType) { return new ContentType(contentType); }
/** * Creates a {@link ContentType} wrapper over the passed mime-type and * character encoding. * * @param mimeType {@link String} mimeType-type representation * (like "text/plain", "text/html", etc), which doesn't contain charset * information * @param characterEncoding charset attribute to be used with the mime-type * * @return a {@link ContentType} wrapper over the passed mime-type and * character encoding */ public static ContentType newContentType(final String mimeType, final String characterEncoding) { final ContentType ct = new ContentType(); ct.setMimeType(mimeType); ct.setCharacterEncoding(characterEncoding); return ct; }
/** * Creates a {@link ContentType} wrapper over the passed mime-type and * character encoding. * * @param mimeType {@link String} mimeType-type representation * (like "text/plain", "text/html", etc), which doesn't contain charset * information * @param characterEncoding charset attribute to be used with the mime-type * * @return a {@link ContentType} wrapper over the passed mime-type and * character encoding */ public static ContentType newContentType(final String mimeType, final String characterEncoding) { final ContentType ct = new ContentType(); ct.setMimeType(mimeType); ct.setCharacterEncoding(characterEncoding); return ct; }
/** * Creates a {@link ContentType} wrapper over the passed mime-type and * character encoding. * * @param mimeType {@link String} mimeType-type representation * (like "text/plain", "text/html", etc), which doesn't contain charset * information * @param characterEncoding charset attribute to be used with the mime-type * * @return a {@link ContentType} wrapper over the passed mime-type and * character encoding */ public static ContentType newContentType(final String mimeType, final String characterEncoding) { final ContentType ct = new ContentType(); ct.setMimeType(mimeType); ct.setCharacterEncoding(characterEncoding); return ct; }
/** * Creates a {@link ContentType} wrapper over the passed mime-type and * character encoding. * * @param mimeType {@link String} mimeType-type representation * (like "text/plain", "text/html", etc), which doesn't contain charset * information * @param characterEncoding charset attribute to be used with the mime-type * * @return a {@link ContentType} wrapper over the passed mime-type and * character encoding */ public static ContentType newContentType(final String mimeType, final String characterEncoding) { final ContentType ct = new ContentType(); ct.setMimeType(mimeType); ct.setCharacterEncoding(characterEncoding); return ct; }
/** * Creates a {@link ContentType} wrapper over the passed mime-type and * character encoding. * * @param mimeType {@link String} mimeType-type representation * (like "text/plain", "text/html", etc), which doesn't contain charset * information * @param characterEncoding charset attribute to be used with the mime-type * * @return a {@link ContentType} wrapper over the passed mime-type and * character encoding */ public static ContentType newContentType(final String mimeType, final String characterEncoding) { final ContentType ct = new ContentType(); ct.setMimeType(mimeType); ct.setCharacterEncoding(characterEncoding); return ct; }
/** * Creates a {@link ContentType} wrapper over the passed mime-type and * character encoding. * * @param mimeType {@link String} mimeType-type representation * (like "text/plain", "text/html", etc), which doesn't contain charset * information * @param characterEncoding charset attribute to be used with the mime-type * * @return a {@link ContentType} wrapper over the passed mime-type and * character encoding */ public static ContentType newContentType(final String mimeType, final String characterEncoding) { final ContentType ct = new ContentType(); ct.setMimeType(mimeType); ct.setCharacterEncoding(characterEncoding); return ct; }
/** * Creates a {@link ContentType} wrapper over the passed mime-type and * character encoding. * * @param mimeType {@link String} mimeType-type representation * (like "text/plain", "text/html", etc), which doesn't contain charset * information * @param characterEncoding charset attribute to be used with the mime-type * * @return a {@link ContentType} wrapper over the passed mime-type and * character encoding */ public static ContentType newContentType(final String mimeType, final String characterEncoding) { final ContentType ct = new ContentType(); ct.setMimeType(mimeType); ct.setCharacterEncoding(characterEncoding); return ct; }
/** * Creates a {@link ContentType} wrapper over the passed mime-type and * character encoding. * * @param mimeType {@link String} mimeType-type representation * (like "text/plain", "text/html", etc), which doesn't contain charset * information * @param characterEncoding charset attribute to be used with the mime-type * * @return a {@link ContentType} wrapper over the passed mime-type and * character encoding */ public static ContentType newContentType(final String mimeType, final String characterEncoding) { final ContentType ct = new ContentType(); ct.setMimeType(mimeType); ct.setCharacterEncoding(characterEncoding); return ct; }
/** * Creates a {@link ContentType} wrapper over the passed mime-type and * character encoding. * * @param mimeType {@link String} mimeType-type representation * (like "text/plain", "text/html", etc), which doesn't contain charset * information * @param characterEncoding charset attribute to be used with the mime-type * * @return a {@link ContentType} wrapper over the passed mime-type and * character encoding */ public static ContentType newContentType(final String mimeType, final String characterEncoding) { final ContentType ct = new ContentType(); ct.setMimeType(mimeType); ct.setCharacterEncoding(characterEncoding); return ct; }
/** * Creates a {@link ContentType} wrapper over the passed mime-type and * character encoding. * * @param mimeType {@link String} mimeType-type representation * (like "text/plain", "text/html", etc), which doesn't contain charset * information * @param characterEncoding charset attribute to be used with the mime-type * * @return a {@link ContentType} wrapper over the passed mime-type and * character encoding */ public static ContentType newContentType(final String mimeType, final String characterEncoding) { final ContentType ct = new ContentType(); ct.setMimeType(mimeType); ct.setCharacterEncoding(characterEncoding); return ct; }