Code example for DefaultResponseParser

0
		@Override 
		protected HttpMessageParser createResponseParser(
				final SessionInputBuffer buffer,
				final HttpResponseFactory responseFactory,
				final HttpParams params) {
			return new DefaultResponseParser(buffer, new IcyLineParser(),
					responseFactory, params);
		} 
	} 
 
	class MyClientConnectionOperator extends DefaultClientConnectionOperator {
		public MyClientConnectionOperator(final SchemeRegistry sr) {
			super(sr);
		} 
 
		@Override 
		public OperatedClientConnection createConnection() {
			return new MyClientConnection(); 
		} 
	} 
Contextual code suggestions in your IDE  Get Codota for Java