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
|
|
|
/**
|
|
|
|
* Combination of a {@link HttpResponse} and {@link FullHttpMessage}.
|
|
|
|
* So it represent a <i>complete</i> http response.
|
|
|
|
*/
|
|
|
|
public interface FullHttpResponse extends HttpResponse, FullHttpMessage {
|
2015-01-20 01:48:11 +01:00
|
|
|
@Override
|
2016-04-14 10:31:48 +02:00
|
|
|
FullHttpResponse 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
|
|
|
FullHttpResponse duplicate();
|
|
|
|
|
|
|
|
@Override
|
|
|
|
FullHttpResponse retainedDuplicate();
|
|
|
|
|
|
|
|
@Override
|
|
|
|
FullHttpResponse replace(ByteBuf content);
|
2013-01-30 07:42:18 +01:00
|
|
|
|
2013-02-13 08:09:33 +01:00
|
|
|
@Override
|
|
|
|
FullHttpResponse retain(int increment);
|
|
|
|
|
|
|
|
@Override
|
|
|
|
FullHttpResponse retain();
|
|
|
|
|
2014-01-28 12:00:28 +01:00
|
|
|
@Override
|
|
|
|
FullHttpResponse touch();
|
|
|
|
|
2014-01-29 03:44:59 +01:00
|
|
|
@Override
|
|
|
|
FullHttpResponse touch(Object hint);
|
|
|
|
|
2013-01-30 07:42:18 +01:00
|
|
|
@Override
|
|
|
|
FullHttpResponse setProtocolVersion(HttpVersion version);
|
|
|
|
|
|
|
|
@Override
|
|
|
|
FullHttpResponse setStatus(HttpResponseStatus status);
|
2013-01-16 05:22:50 +01:00
|
|
|
}
|