Was JFK opposed to war in Vietnam?

Many people still don't know because he was assassinated but many assume he would have expanded the war effort.