From: Xiao, J. <Jea...@st...> - 2009-06-12 23:22:24
|
I am porting a embedded jetty application from using jetty 4.2 to jetty 6, and need to find the replacement for HttpFields.read(LineInput), The code is look like this lineInput = new LineInput(InputStream) headers = new HttpField(); headers.read(lineInput); This will convert a inputstream into http header with all fields set, I need some API do the similar function, take a inputstream with header and data not from httprequest, just plain inputstream, and be able to convert it into http header. Also, need to find replacement HttpFieds.write(Writer) Thanks for any help. Jean |