@Rakesh Jain , Please search in stackoverflow / google how to make http call from Java. It should be simple & straight forward. For example , Please find post here that talks about making post call in java.
What do you mean by “achieve my objective using ‘Apigee API’” ?
Can you elaborate? Are you trying to make an HTTP Request from within Java ? If so there is no Apigee required for that. If the API endpoint is managed by Apigee Edge, it’s irrelevant. The Java code will be the same. If you are asking something different, please elaborate.