|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.parser.ParserImpl
com.ibm.di.parser.HTTPParser
public class HTTPParser
Field Summary | |
---|---|
static String |
ENCODING_LATIN_1
|
static String |
HTTP_FILE_NOT_FOUND
|
static String |
HTTP_FORBIDDEN
|
static String |
HTTP_OK
|
static String |
HTTP_REDIR
|
Fields inherited from class com.ibm.di.parser.ParserImpl |
---|
_debug, myConfiguration |
Constructor Summary | |
---|---|
HTTPParser()
|
Method Summary | |
---|---|
String[] |
getNames(Entry e)
|
Object |
getProp(Entry e,
String prop)
|
String |
getVersion()
Return version information |
void |
httpAuthenticationRequest(String realm)
Send a Forbidden response requesting authentication |
void |
httpForbidden()
Send a HTTP/FORBIDDEN response onto the output stream. |
void |
initParser()
Perform initialization of parser. |
void |
parseAuthentication(Entry entry)
|
int |
readByte()
|
Entry |
readEntry()
Return the next entry from the current input stream |
String |
readLine()
|
void |
sendAuthorization(Entry entry,
BufferedWriter out)
Send client authorization |
void |
setClientMode(boolean clientMode)
|
void |
setProp(Entry e,
String prop,
Object value)
|
void |
setUseProperties(boolean useProps)
|
void |
writeEntry(Entry entry)
Write an entry to the current output stream |
Methods inherited from class com.ibm.di.parser.ParserImpl |
---|
closeParser, debug, debugMode, flush, getClassInstance, getContext, getDebug, getInputStream, getOutputStream, getParam, getParser, getReader, getWriter, isDeltaSupported, logmsg, registerScriptBeans, setConfiguration, setContext, setDebug, setInputStream, setInputStream, setInputStream, setOutputStream, setOutputStream, setParam, setParser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String HTTP_OK
public static final String HTTP_FILE_NOT_FOUND
public static final String HTTP_FORBIDDEN
public static final String HTTP_REDIR
public static final String ENCODING_LATIN_1
Constructor Detail |
---|
public HTTPParser()
Method Detail |
---|
public void initParser() throws Exception
ParserImpl
initParser
in interface ParserInterface
initParser
in class ParserImpl
Exception
public void setUseProperties(boolean useProps)
public void setClientMode(boolean clientMode)
public int readByte() throws Exception
Exception
public String readLine() throws Exception
Exception
public Entry readEntry() throws Exception
ParserInterface
Exception
public void writeEntry(Entry entry) throws Exception
ParserInterface
entry
- The entry to write
Exception
public void parseAuthentication(Entry entry) throws Exception
Exception
public void setProp(Entry e, String prop, Object value)
public Object getProp(Entry e, String prop)
public String[] getNames(Entry e)
public void httpForbidden() throws IOException
IOException
public void httpAuthenticationRequest(String realm) throws IOException
IOException
public void sendAuthorization(Entry entry, BufferedWriter out) throws Exception
Exception
public String getVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |