This commit is contained in:
parent
53bb51a69d
commit
c20a723749
|
@ -15,6 +15,7 @@ package org.eclipse.jetty.ee11.servlet;
|
|||
|
||||
import java.io.IOException;
|
||||
import java.io.PrintWriter;
|
||||
import java.nio.charset.Charset;
|
||||
import java.util.Collection;
|
||||
import java.util.EnumSet;
|
||||
import java.util.Locale;
|
||||
|
@ -339,6 +340,12 @@ public class ServletApiResponse implements HttpServletResponse
|
|||
getServletResponseInfo().setCharacterEncoding(encoding, ServletContextResponse.EncodingFrom.SET_CHARACTER_ENCODING);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCharacterEncoding(Charset encoding)
|
||||
{
|
||||
setCharacterEncoding(encoding == null ? null : encoding.name());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setContentLength(int len)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue