Example usage for io.netty.handler.codec.http HttpHeaders newEntity

List of usage examples for io.netty.handler.codec.http HttpHeaders newEntity

Introduction

In this page you can find the example usage for io.netty.handler.codec.http HttpHeaders newEntity.

Prototype

@Deprecated
public static CharSequence newEntity(String name) 

Source Link

Usage

From source file:io.reactivex.netty.protocol.http.client.HttpRequestHeaders.java

License:Apache License

public CharSequence newEntity(String name) {
    return HttpHeaders.newEntity(name);
}

From source file:org.springframework.boot.context.embedded.netty.NettyHttpServletResponse.java

License:Apache License

@VisibleForTesting
CharSequence getFormattedDate() {
    return HttpHeaders.newEntity(FORMAT.get().format(new Date()));
}