/** * Returns a new Zip implementation of the Inbound Payload. * @param payloadContentType content type for the payload * @param is InputStream from which to read the payload * @return Payload.Inbound containing the data from the specified input stream; * null if the payloadContentType is not what this zip-based * implementation can handle * @throws java.io.IOException */ public static Inbound newInstance(final String payloadContentType, final InputStream is) throws IOException { return new Inbound(is); }
/** * Returns a new Zip implementation of the Inbound Payload. * @param payloadContentType content type for the payload * @param is InputStream from which to read the payload * @return Payload.Inbound containing the data from the specified input stream; * null if the payloadContentType is not what this zip-based * implementation can handle * @throws java.io.IOException */ public static Inbound newInstance(final String payloadContentType, final InputStream is) throws IOException { return new Inbound(is); }
/** * Returns a new Zip implementation of the Inbound Payload. * @param payloadContentType content type for the payload * @param is InputStream from which to read the payload * @return Payload.Inbound containing the data from the specified input stream; * null if the payloadContentType is not what this zip-based * implementation can handle * @throws java.io.IOException */ public static Inbound newInstance(final String payloadContentType, final InputStream is) throws IOException { return new Inbound(is); }