php.java.bridge.http
Class SimpleHeaderParser

java.lang.Object
  extended by php.java.bridge.http.HeaderParser
      extended by php.java.bridge.http.SimpleHeaderParser

public class SimpleHeaderParser
extends HeaderParser

A procedure class which can be used to capture the HTTP header strings. This template discards all headers.


Field Summary
 
Fields inherited from class php.java.bridge.http.HeaderParser
DEFAULT_HEADER_PARSER
 
Constructor Summary
SimpleHeaderParser()
           
 
Method Summary
 void addHeader(java.lang.String key, java.lang.String val)
          Template discards parsed header
 void parseHeader(java.lang.String header)
          Template discards parsed header
 
Methods inherited from class php.java.bridge.http.HeaderParser
parseBody
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleHeaderParser

public SimpleHeaderParser()
Method Detail

parseHeader

public void parseHeader(java.lang.String header)
Template discards parsed header

Specified by:
parseHeader in class HeaderParser
Parameters:
header - The header string to parse

addHeader

public void addHeader(java.lang.String key,
                      java.lang.String val)
Template discards parsed header

Specified by:
addHeader in class HeaderParser
Parameters:
key - the key
val - the value