2013-01-16 05:22:50 +01:00
|
|
|
/*
|
|
|
|
* Copyright 2013 The Netty Project
|
|
|
|
*
|
|
|
|
* The Netty Project licenses this file to you 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 io.netty.handler.codec.http;
|
|
|
|
|
2015-01-20 01:48:11 +01:00
|
|
|
import io.netty.buffer.ByteBuf;
|
|
|
|
|
2013-01-16 05:22:50 +01:00
|
|
|
/**
|
2015-12-31 14:44:51 +01:00
|
|
|
* Combine the {@link HttpRequest} and {@link FullHttpMessage}, so the request is a <i>complete</i> HTTP
|
2013-01-16 05:22:50 +01:00
|
|
|
* request.
|
|
|
|
*/
|
|
|
|
public interface FullHttpRequest extends HttpRequest, FullHttpMessage {
|
2015-01-20 01:48:11 +01:00
|
|
|
@Override
|
2016-04-14 10:31:48 +02:00
|
|
|
FullHttpRequest copy();
|
2015-01-20 01:48:11 +01:00
|
|
|
|
2013-01-16 05:22:50 +01:00
|
|
|
@Override
|
2016-04-14 10:31:48 +02:00
|
|
|
FullHttpRequest duplicate();
|
|
|
|
|
|
|
|
@Override
|
|
|
|
FullHttpRequest retainedDuplicate();
|
|
|
|
|
|
|
|
@Override
|
|
|
|
FullHttpRequest replace(ByteBuf content);
|
2013-01-30 07:42:18 +01:00
|
|
|
|
2013-02-13 08:09:33 +01:00
|
|
|
@Override
|
|
|
|
FullHttpRequest retain(int increment);
|
|
|
|
|
|
|
|
@Override
|
|
|
|
FullHttpRequest retain();
|
|
|
|
|
2014-01-28 12:00:28 +01:00
|
|
|
@Override
|
|
|
|
FullHttpRequest touch();
|
|
|
|
|
2014-01-29 03:44:59 +01:00
|
|
|
@Override
|
|
|
|
FullHttpRequest touch(Object hint);
|
|
|
|
|
2013-01-30 07:42:18 +01:00
|
|
|
@Override
|
|
|
|
FullHttpRequest setProtocolVersion(HttpVersion version);
|
|
|
|
|
|
|
|
@Override
|
|
|
|
FullHttpRequest setMethod(HttpMethod method);
|
|
|
|
|
|
|
|
@Override
|
|
|
|
FullHttpRequest setUri(String uri);
|
2013-01-16 05:22:50 +01:00
|
|
|
}
|