public final class EntityParser extends Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
decryptData(byte[] encryptedData,
PrivateKey privateKey) |
static boolean |
isBoundaryCloseDelimiter(org.apache.http.util.CharArrayBuffer buffer,
org.apache.http.message.ParserCursor cursor,
String boundary) |
static boolean |
isBoundaryDelimiter(org.apache.http.util.CharArrayBuffer buffer,
org.apache.http.message.ParserCursor cursor,
String boundary) |
static void |
parseApplicationEDIEntity(org.apache.http.HttpMessage message) |
static ApplicationPkcs7MimeEntity |
parseApplicationPkcs7MimeEntityBody(AS2SessionInputBuffer inbuffer,
String boundary,
org.apache.http.entity.ContentType contentType,
String contentTransferEncoding) |
static ApplicationPkcs7SignatureEntity |
parseApplicationPkcs7SignatureEntityBody(AS2SessionInputBuffer inbuffer,
String boundary,
org.apache.http.entity.ContentType contentType,
String contentTransferEncoding) |
static void |
parseAS2MessageEntity(org.apache.http.HttpMessage message) |
static List<org.apache.http.util.CharArrayBuffer> |
parseBodyPartFields(AS2SessionInputBuffer inbuffer,
String boundary,
org.apache.http.message.LineParser parser,
List<org.apache.http.util.CharArrayBuffer> fields) |
static String |
parseBodyPartText(AS2SessionInputBuffer inbuffer,
String boundary) |
static ApplicationEDIEntity |
parseEDIEntityBody(AS2SessionInputBuffer inbuffer,
String boundary,
org.apache.http.entity.ContentType ediMessageContentType,
String contentTransferEncoding) |
static MimeEntity |
parseEntityBody(AS2SessionInputBuffer inbuffer,
String boundary,
org.apache.http.entity.ContentType entityContentType,
String contentTransferEncoding,
org.apache.http.Header[] headers) |
static MimeEntity |
parseEnvelopedEntity(byte[] envelopedContent,
PrivateKey privateKey) |
static AS2MessageDispositionNotificationEntity |
parseMessageDispositionNotificationEntityBody(AS2SessionInputBuffer inbuffer,
String boundary,
String charsetName,
String contentTransferEncoding) |
static void |
parseMessageDispositionNotificationReportEntity(org.apache.http.HttpMessage message) |
static DispositionNotificationMultipartReportEntity |
parseMultipartReportEntityBody(AS2SessionInputBuffer inbuffer,
String boundary,
String charsetName,
String contentTransferEncoding) |
static void |
parseMultipartSignedEntity(org.apache.http.HttpMessage message) |
static MultipartSignedEntity |
parseMultipartSignedEntityBody(AS2SessionInputBuffer inbuffer,
String boundary,
String micalg,
String charsetName,
String contentTransferEncoding) |
static TextPlainEntity |
parseTextPlainEntityBody(AS2SessionInputBuffer inbuffer,
String boundary,
String charsetName,
String contentTransferEncoding) |
static void |
skipPreambleAndStartBoundary(AS2SessionInputBuffer inbuffer,
String boundary) |
static void |
skipToBoundary(AS2SessionInputBuffer inbuffer,
String boundary) |
public static boolean isBoundaryCloseDelimiter(org.apache.http.util.CharArrayBuffer buffer, org.apache.http.message.ParserCursor cursor, String boundary)
public static boolean isBoundaryDelimiter(org.apache.http.util.CharArrayBuffer buffer, org.apache.http.message.ParserCursor cursor, String boundary)
public static void skipPreambleAndStartBoundary(AS2SessionInputBuffer inbuffer, String boundary) throws org.apache.http.HttpException
org.apache.http.HttpException
public static void skipToBoundary(AS2SessionInputBuffer inbuffer, String boundary) throws org.apache.http.HttpException
org.apache.http.HttpException
public static MimeEntity parseEnvelopedEntity(byte[] envelopedContent, PrivateKey privateKey)
public static byte[] decryptData(byte[] encryptedData, PrivateKey privateKey) throws Exception
Exception
public static void parseMultipartSignedEntity(org.apache.http.HttpMessage message) throws org.apache.http.HttpException
org.apache.http.HttpException
public static void parseApplicationEDIEntity(org.apache.http.HttpMessage message) throws org.apache.http.HttpException
org.apache.http.HttpException
public static void parseMessageDispositionNotificationReportEntity(org.apache.http.HttpMessage message) throws org.apache.http.HttpException
org.apache.http.HttpException
public static void parseAS2MessageEntity(org.apache.http.HttpMessage message) throws org.apache.http.HttpException
org.apache.http.HttpException
public static MultipartSignedEntity parseMultipartSignedEntityBody(AS2SessionInputBuffer inbuffer, String boundary, String micalg, String charsetName, String contentTransferEncoding) throws org.apache.http.ParseException
org.apache.http.ParseException
public static DispositionNotificationMultipartReportEntity parseMultipartReportEntityBody(AS2SessionInputBuffer inbuffer, String boundary, String charsetName, String contentTransferEncoding) throws org.apache.http.ParseException
org.apache.http.ParseException
public static TextPlainEntity parseTextPlainEntityBody(AS2SessionInputBuffer inbuffer, String boundary, String charsetName, String contentTransferEncoding) throws org.apache.http.ParseException
org.apache.http.ParseException
public static AS2MessageDispositionNotificationEntity parseMessageDispositionNotificationEntityBody(AS2SessionInputBuffer inbuffer, String boundary, String charsetName, String contentTransferEncoding) throws org.apache.http.ParseException
org.apache.http.ParseException
public static MimeEntity parseEntityBody(AS2SessionInputBuffer inbuffer, String boundary, org.apache.http.entity.ContentType entityContentType, String contentTransferEncoding, org.apache.http.Header[] headers) throws org.apache.http.ParseException
org.apache.http.ParseException
public static ApplicationEDIEntity parseEDIEntityBody(AS2SessionInputBuffer inbuffer, String boundary, org.apache.http.entity.ContentType ediMessageContentType, String contentTransferEncoding) throws org.apache.http.ParseException
org.apache.http.ParseException
public static ApplicationPkcs7SignatureEntity parseApplicationPkcs7SignatureEntityBody(AS2SessionInputBuffer inbuffer, String boundary, org.apache.http.entity.ContentType contentType, String contentTransferEncoding) throws org.apache.http.ParseException
org.apache.http.ParseException
public static ApplicationPkcs7MimeEntity parseApplicationPkcs7MimeEntityBody(AS2SessionInputBuffer inbuffer, String boundary, org.apache.http.entity.ContentType contentType, String contentTransferEncoding) throws org.apache.http.ParseException
org.apache.http.ParseException
public static String parseBodyPartText(AS2SessionInputBuffer inbuffer, String boundary) throws IOException
IOException
public static List<org.apache.http.util.CharArrayBuffer> parseBodyPartFields(AS2SessionInputBuffer inbuffer, String boundary, org.apache.http.message.LineParser parser, List<org.apache.http.util.CharArrayBuffer> fields) throws IOException
IOException
Apache Camel