// Path: library/src/main/java/org/mariotaku/restfu/http/mime/BodyConverter.java
// public interface BodyConverter {
//     @NotNull
//     Body convert(@NotNull MultiValueMap<Body> params, @NotNull String[] args);
// }
// 
// Path: library/src/main/java/org/mariotaku/restfu/http/mime/DefaultBodyConverter.java
// public final class DefaultBodyConverter implements BodyConverter {
//     @NotNull
//     @Override
//     public Body convert(@NotNull MultiValueMap<Body> params, @NotNull String[] args) {
//         throw new UnsupportedOperationException();
//     }
// }


import org.mariotaku.restfu.http.mime.BodyConverter;
import org.mariotaku.restfu.http.mime.DefaultBodyConverter;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/*
 * Copyright (c) 2015 mariotaku
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.mariotaku.restfu.http;



/**
 * Created by mariotaku on 15/2/6.
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface BodyType {
    String value();

// Path: library/src/main/java/org/mariotaku/restfu/http/mime/BodyConverter.java
// public interface BodyConverter {
//     @NotNull
//     Body convert(@NotNull MultiValueMap<Body> params, @NotNull String[] args);
// }
// 
// Path: library/src/main/java/org/mariotaku/restfu/http/mime/DefaultBodyConverter.java
// public final class DefaultBodyConverter implements BodyConverter {
//     @NotNull
//     @Override
//     public Body convert(@NotNull MultiValueMap<Body> params, @NotNull String[] args) {
//         throw new UnsupportedOperationException();
//     }
// }


// Path: library/src/main/java/org/mariotaku/restfu/http/BodyType.java
import org.mariotaku.restfu.http.mime.BodyConverter;
import org.mariotaku.restfu.http.mime.DefaultBodyConverter;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/*
 * Copyright (c) 2015 mariotaku
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.mariotaku.restfu.http;



/**
 * Created by mariotaku on 15/2/6.
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface BodyType {
    String value();

    Class<? extends BodyConverter> converter() default DefaultBodyConverter.class;