List of usage examples for io.netty.handler.codec.http HttpHeaders newEntity
@Deprecated public static CharSequence newEntity(String name)
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()));
}