Android
org.apache.http
public interface

org.apache.http.FormattedHeader

org.apache.http.FormattedHeader Header

An HTTP header which is already formatted. For example when headers are received, the original formatting can be preserved. This allows for the header to be sent without another formatting step.

Known Indirect Subclasses

Summary

Public Methods

          CharArrayBuffer  getBuffer()
Obtains the buffer with the formatted header.
          int  getValuePos()
Obtains the start of the header value in the buffer.
Methods inherited from interface org.apache.http.Header

Details

Public Methods

public CharArrayBuffer getBuffer()

Obtains the buffer with the formatted header. The returned buffer MUST NOT be modified.

Returns

  • the formatted header, in a buffer that must not be modified

public int getValuePos()

Obtains the start of the header value in the buffer. By accessing the value in the buffer, creation of a temporary string can be avoided.

Returns

  • index of the first character of the header value in the buffer returned by getBuffer.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48