// Path: src/main/java/org/turbogwt/net/http/client/header/AcceptHeader.java
// public class AcceptHeader extends QualityFactorHeader {
// 
//     public AcceptHeader(Value... values) {
//         super("Accept", values);
//     }
// 
//     public AcceptHeader(String... values) {
//         super("Accept", values);
//     }
// }


import com.google.gwt.http.client.Header;
import java.util.Collection;
import org.turbogwt.net.http.client.header.AcceptHeader;
/*
 * Copyright 2014 Grow Bit
 *
 * 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.turbogwt.net.http.client;




/**
 * A {@link Request} with dispatching capabilities.
 */
public interface RequestDispatcher extends Request {

    @Override
    RequestDispatcher contentType(String contentType);

    @Override
    RequestDispatcher accept(String contentType);

    @Override
    RequestDispatcher accept(AcceptHeader acceptHeader);

    @Override
    RequestDispatcher header(String header, String value);

    @Override
    RequestDispatcher header(Header header);

    @Override
    RequestDispatcher user(String user);

    @Override
    RequestDispatcher password(String password);

    @Override
    RequestDispatcher timeout(int timeoutMillis);

//    @Override
//    RequestDispatcher pathParam(String name, Object value) throws IllegalArgumentException;
//
//    @Override
//    RequestDispatcher matrixParam(String name, Object... values) throws IllegalArgumentException;
//
//    @Override
//    RequestDispatcher queryParam(String name, Object... values) throws IllegalArgumentException;

// Path: src/main/java/org/turbogwt/net/http/client/header/AcceptHeader.java
// public class AcceptHeader extends QualityFactorHeader {
// 
//     public AcceptHeader(Value... values) {
//         super("Accept", values);
//     }
// 
//     public AcceptHeader(String... values) {
//         super("Accept", values);
//     }
// }


// Path: src/main/java/org/turbogwt/net/http/client/RequestDispatcher.java
import com.google.gwt.http.client.Header;
import java.util.Collection;
import org.turbogwt.net.http.client.header.AcceptHeader;

/*
 * Copyright 2014 Grow Bit
 *
 * 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.turbogwt.net.http.client;




/**
 * A {@link Request} with dispatching capabilities.
 */
public interface RequestDispatcher extends Request {

    @Override
    RequestDispatcher contentType(String contentType);

    @Override
    RequestDispatcher accept(String contentType);

    @Override
    RequestDispatcher accept(AcceptHeader acceptHeader);

    @Override
    RequestDispatcher header(String header, String value);

    @Override
    RequestDispatcher header(Header header);

    @Override
    RequestDispatcher user(String user);

    @Override
    RequestDispatcher password(String password);

    @Override
    RequestDispatcher timeout(int timeoutMillis);

//    @Override
//    RequestDispatcher pathParam(String name, Object value) throws IllegalArgumentException;
//
//    @Override
//    RequestDispatcher matrixParam(String name, Object... values) throws IllegalArgumentException;
//
//    @Override
//    RequestDispatcher queryParam(String name, Object... values) throws IllegalArgumentException;

    @Override