/** * Parse Batch Request body <code>inputStream</code> (as {@link InputStream}) and provide a list of Batch Request * parts as {@link BatchRequestPart} * * @param contentType format of content in the given input stream * @param content request body * @param properties additional properties necessary for parsing. Must not be null. * @return list of {@link BatchRequestPart} * @throws BatchException if parsing fails */ public static List<BatchRequestPart> parseBatchRequest(final String contentType, final InputStream content, final EntityProviderBatchProperties properties) throws BatchException { return createEntityProvider().parseBatchRequest(contentType, content, properties); }
/** * Parse Batch Request body <code>inputStream</code> (as {@link InputStream}) and provide a list of Batch Request * parts as {@link BatchRequestPart} * * @param contentType format of content in the given input stream * @param content request body * @param properties additional properties necessary for parsing. Must not be null. * @return list of {@link BatchRequestPart} * @throws BatchException if parsing fails */ public static List<BatchRequestPart> parseBatchRequest(final String contentType, final InputStream content, final EntityProviderBatchProperties properties) throws BatchException { return createEntityProvider().parseBatchRequest(contentType, content, properties); }
/** * Parse Batch Request body <code>inputStream</code> (as {@link InputStream}) and provide a list of Batch Request * parts as {@link BatchRequestPart} * * @param contentType format of content in the given input stream * @param content request body * @param properties additional properties necessary for parsing. Must not be null. * @return list of {@link BatchRequestPart} * @throws BatchException if parsing fails */ public static List<BatchRequestPart> parseBatchRequest(final String contentType, final InputStream content, final EntityProviderBatchProperties properties) throws BatchException { return createEntityProvider().parseBatchRequest(contentType, content, properties); }
/** * Parse Batch Request body <code>inputStream</code> (as {@link InputStream}) and provide a list of Batch Request * parts as {@link BatchRequestPart} * * @param contentType format of content in the given input stream * @param content request body * @param properties additional properties necessary for parsing. Must not be null. * @return list of {@link BatchRequestPart} * @throws BatchException if parsing fails */ public static List<BatchRequestPart> parseBatchRequest(final String contentType, final InputStream content, final EntityProviderBatchProperties properties) throws BatchException { return createEntityProvider().parseBatchRequest(contentType, content, properties); }