Tabnine Logo
HttpResponseWriter
Code IndexAdd Tabnine to your IDE (free)

How to use
HttpResponseWriter
in
org.apache.http.impl.io

Best Java code snippets using org.apache.http.impl.io.HttpResponseWriter (Showing top 12 results out of 315)

origin: robovm/robovm

protected HttpMessageWriter createResponseWriter(
    final SessionOutputBuffer buffer,
    final HttpParams params) {
  // override in derived class to specify a line formatter
  return new HttpResponseWriter(buffer, null, params);
}
origin: MobiVM/robovm

protected HttpMessageWriter createResponseWriter(
    final SessionOutputBuffer buffer,
    final HttpParams params) {
  // override in derived class to specify a line formatter
  return new HttpResponseWriter(buffer, null, params);
}
origin: com.mobidevelop.robovm/robovm-rt

protected HttpMessageWriter createResponseWriter(
    final SessionOutputBuffer buffer,
    final HttpParams params) {
  // override in derived class to specify a line formatter
  return new HttpResponseWriter(buffer, null, params);
}
origin: com.gluonhq/robovm-rt

protected HttpMessageWriter createResponseWriter(
    final SessionOutputBuffer buffer,
    final HttpParams params) {
  // override in derived class to specify a line formatter
  return new HttpResponseWriter(buffer, null, params);
}
origin: FlexoVM/flexovm

protected HttpMessageWriter createResponseWriter(
    final SessionOutputBuffer buffer,
    final HttpParams params) {
  // override in derived class to specify a line formatter
  return new HttpResponseWriter(buffer, null, params);
}
origin: com.bugvm/bugvm-rt

/**
 * Creates an instance of {@link HttpMessageWriter} to be used for
 * writing out HTTP responses sent over this connection.
 * <p>
 * This method can be overridden in a super class in order to provide
 * a different implementation of the {@link HttpMessageWriter} interface or
 * to pass a different implementation of
 * {@link org.apache.http.message.LineFormatter} to the the default
 * implementation {@link HttpResponseWriter}.
 *
 * @param buffer the session output buffer
 * @param params HTTP parameters
 * @return HTTP message writer
 */
protected HttpMessageWriter<HttpResponse> createResponseWriter(
    final SessionOutputBuffer buffer,
    final HttpParams params) {
  return new HttpResponseWriter(buffer, null, params);
}
origin: com.impetus.fabric/fabric-jdbc-driver-shaded

/**
 * Creates an instance of {@link HttpMessageWriter} to be used for
 * writing out HTTP responses sent over this connection.
 * <p>
 * This method can be overridden in a super class in order to provide
 * a different implementation of the {@link HttpMessageWriter} interface or
 * to pass a different implementation of
 * {@link org.apache.http.message.LineFormatter} to the the default
 * implementation {@link HttpResponseWriter}.
 *
 * @param buffer the session output buffer
 * @param params HTTP parameters
 * @return HTTP message writer
 */
protected HttpMessageWriter<HttpResponse> createResponseWriter(
    final SessionOutputBuffer buffer,
    final HttpParams params) {
  return new HttpResponseWriter(buffer, null, params);
}
origin: ibinti/bugvm

/**
 * Creates an instance of {@link HttpMessageWriter} to be used for
 * writing out HTTP responses sent over this connection.
 * <p>
 * This method can be overridden in a super class in order to provide
 * a different implementation of the {@link HttpMessageWriter} interface or
 * to pass a different implementation of
 * {@link org.apache.http.message.LineFormatter} to the the default
 * implementation {@link HttpResponseWriter}.
 *
 * @param buffer the session output buffer
 * @param params HTTP parameters
 * @return HTTP message writer
 */
protected HttpMessageWriter<HttpResponse> createResponseWriter(
    final SessionOutputBuffer buffer,
    final HttpParams params) {
  return new HttpResponseWriter(buffer, null, params);
}
origin: at.bestsolution.efxclipse.eclipse/org.apache.httpcomponents.httpcore

/**
 * Creates an instance of {@link HttpMessageWriter} to be used for
 * writing out HTTP responses sent over this connection.
 * <p>
 * This method can be overridden in a super class in order to provide
 * a different implementation of the {@link HttpMessageWriter} interface or
 * to pass a different implementation of
 * {@link org.apache.http.message.LineFormatter} to the the default
 * implementation {@link HttpResponseWriter}.
 *
 * @param buffer the session output buffer
 * @param params HTTP parameters
 * @return HTTP message writer
 */
protected HttpMessageWriter<HttpResponse> createResponseWriter(
    final SessionOutputBuffer buffer,
    final HttpParams params) {
  return new HttpResponseWriter(buffer, null, params);
}
origin: Nextdoor/bender

/**
 * Creates an instance of {@link HttpMessageWriter} to be used for
 * writing out HTTP responses sent over this connection.
 * <p>
 * This method can be overridden in a super class in order to provide
 * a different implementation of the {@link HttpMessageWriter} interface or
 * to pass a different implementation of
 * {@link org.apache.http.message.LineFormatter} to the the default
 * implementation {@link HttpResponseWriter}.
 *
 * @param buffer the session output buffer
 * @param params HTTP parameters
 * @return HTTP message writer
 */
protected HttpMessageWriter<HttpResponse> createResponseWriter(
    final SessionOutputBuffer buffer,
    final HttpParams params) {
  return new HttpResponseWriter(buffer, null, params);
}
origin: apache/axis2-java

public AxisHttpConnectionImpl(final Socket socket, final HttpParams params) 
    throws IOException {
  super();
  if (socket == null) {
    throw new IllegalArgumentException("Socket may not be null"); 
  }
  if (params == null) {
    throw new IllegalArgumentException("HTTP parameters may not be null"); 
  }
  socket.setTcpNoDelay(HttpConnectionParams.getTcpNoDelay(params));
  socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params));
  
  int linger = HttpConnectionParams.getLinger(params);
  if (linger >= 0) {
    socket.setSoLinger(linger > 0, linger);
  }
  
  int buffersize = HttpConnectionParams.getSocketBufferSize(params);
  this.socket = socket;
  this.outbuffer = new SocketOutputBuffer(socket, buffersize, params); 
  this.inbuffer = new SocketInputBuffer(socket, buffersize, params); 
  this.contentLenStrategy = new StrictContentLengthStrategy();
  this.requestParser = new HttpRequestParser(
      this.inbuffer, null, new DefaultHttpRequestFactory(), params);
  this.responseWriter = new HttpResponseWriter(
      this.outbuffer, null, params);
}
origin: org.apache.axis2/axis2-transport-http

public AxisHttpConnectionImpl(final Socket socket, final HttpParams params) 
    throws IOException {
  super();
  if (socket == null) {
    throw new IllegalArgumentException("Socket may not be null"); 
  }
  if (params == null) {
    throw new IllegalArgumentException("HTTP parameters may not be null"); 
  }
  socket.setTcpNoDelay(HttpConnectionParams.getTcpNoDelay(params));
  socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params));
  
  int linger = HttpConnectionParams.getLinger(params);
  if (linger >= 0) {
    socket.setSoLinger(linger > 0, linger);
  }
  
  int buffersize = HttpConnectionParams.getSocketBufferSize(params);
  this.socket = socket;
  this.outbuffer = new SocketOutputBuffer(socket, buffersize, params); 
  this.inbuffer = new SocketInputBuffer(socket, buffersize, params); 
  this.contentLenStrategy = new StrictContentLengthStrategy();
  this.requestParser = new HttpRequestParser(
      this.inbuffer, null, new DefaultHttpRequestFactory(), params);
  this.responseWriter = new HttpResponseWriter(
      this.outbuffer, null, params);
}
org.apache.http.impl.ioHttpResponseWriter

Javadoc

HTTP response writer that serializes its output to an instance of SessionOutputBuffer.

Most used methods

  • <init>

Popular in Java

  • Start an intent from android
  • setRequestProperty (URLConnection)
  • getSystemService (Context)
  • scheduleAtFixedRate (Timer)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JComboBox (javax.swing)
  • JTextField (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now