As the Internet traffic exponentially growing, the next generation IP network is forced to scale far beyond its present performances. The more and more mature optical switching technology, such as optical burst switching, is expected to provide an ideal infrastructure for meeting the demands. However in optical switching, there is one critical issue, namely contention, which roots from multiple optical data requesting the same output port How to resolve contention in optical domain will have a significant effect on the performance (in terms of the burst-loss rate, average delay time and network throughput) of optical switching network. The paper proposes a contention resolution scheme based on FDL, AWG and TWC. Here FDL is used as two functions, i.e. forwarding and feedback for smaller or longer buffering time requirements respectively. In the paper we incorporate the scheme into the design of optical switch. We descript the optical data buffering strategy when contention occurs. We also study the performance of the scheme in a Markov process model under the assumption of uniform Bernoulli traffic, and validate the analysis through numerical simulation. The computer simulation results show that the scheme can efficiently use FDL buffering and AWG switching capacities, hence can obviously reduce the contentions.