/**
 *
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for license information.
 *
 */

package com.microsoft.rest.bat;

import com.microsoft.rest.HttpOperationResponse;
import com.microsoft.rest.ServiceException;
import retrofit.Callback;
import retrofit.client.Response;
import retrofit.http.Body;
import retrofit.http.GET;
import retrofit.http.PUT;

import java.util.concurrent.Future;

public interface IntOperations {
    @GET("/int/null")
    int getNull();

    @GET("/int/null")
    void getNullAsync(Callback<Integer> cb);

    @GET("/int/invalid")
    int getInvalid();

    @GET("/int/invalid")
    void getInvalidAsync(Callback<Integer> cb);

    @PUT("/int/max/32")
    Response putMax32(@Body int intBody) throws ServiceException;

    @PUT("/int/max/32")
    void putMax32Async(Callback<Response> cb) throws ServiceException;
}

@@ -202,57 +202,8 @@
 t;%0A%0A
-import com.microsoft.rest.HttpOperationResponse;%0A
 impo
@@ -242,16 +242,16 @@
 eption;%0A
+
 import r
@@ -385,45 +385,8 @@
 T;%0A%0A
-import java.util.concurrent.Future;%0A%0A
 publ
@@ -501,39 +501,40 @@
 lAsync(Callback%3C
-Integer
+Response
 %3E cb);%0A%0A    @GET
@@ -636,15 +636,16 @@
 ack%3C
-Integer
+Response
 %3E cb

Implement operations template