|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.di.connector.WSReceiverServerConnector.HTTPHeaders
public class HTTPHeaders
HttpHeader is an object that aides in the creation of a response header.
| Constructor Summary | |
|---|---|
HTTPHeaders()
|
|
| Method Summary | |
|---|---|
static boolean |
matches(byte[] buf,
byte[] target)
The method accepts two byte array and returns true if they match. |
static boolean |
matches(byte[] buf,
int bufIdx,
byte[] target)
The method accepts two byte array and returns true if the part of the first one starting from position bufIdx matches the second one. |
static boolean |
matchesCase(byte[] buf,
byte[] target)
The method accepts two byte array and returns true if they match. |
static int |
parseHeaders(org.apache.axis.transport.http.NonBlockingBufferedInputStream is,
byte[] buf,
java.lang.StringBuffer contentType,
java.lang.StringBuffer contentLocation,
java.lang.StringBuffer soapAction,
java.lang.StringBuffer httpRequest,
java.lang.StringBuffer fileName,
java.lang.StringBuffer cookie,
java.lang.StringBuffer cookie2,
java.lang.StringBuffer authInfo,
java.lang.StringBuffer host)
Parses headers from the given stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTTPHeaders()
| Method Detail |
|---|
public static boolean matches(byte[] buf,
byte[] target)
buf - byte arraytarget - byte array
public static boolean matchesCase(byte[] buf,
byte[] target)
buf - byte arraytarget - byte array
public static boolean matches(byte[] buf,
int bufIdx,
byte[] target)
buf - byte arraybufIdx - int , the position , where the comparison beginstarget - byte array
public static int parseHeaders(org.apache.axis.transport.http.NonBlockingBufferedInputStream is,
byte[] buf,
java.lang.StringBuffer contentType,
java.lang.StringBuffer contentLocation,
java.lang.StringBuffer soapAction,
java.lang.StringBuffer httpRequest,
java.lang.StringBuffer fileName,
java.lang.StringBuffer cookie,
java.lang.StringBuffer cookie2,
java.lang.StringBuffer authInfo,
java.lang.StringBuffer host)
throws java.io.IOException
is - NonBlockingBufferedInputStreambuf - byte arraycontentType - StringBuffercontentLocation - StringBuffersoapAction - StringBufferhttpRequest - StringBufferfileName - StringBuffercookie - StringBuffercookie2 - StringBufferauthInfo - StringBufferhost - StringBuffer
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||