Class BatchTransformatorCommon
- java.lang.Object
-
- org.apache.olingo.odata2.core.batch.v2.BatchTransformatorCommon
-
public class BatchTransformatorCommon extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBatchTransformatorCommon.HttpRequestStatusLinestatic classBatchTransformatorCommon.HttpResponsetStatusLine
-
Constructor Summary
Constructors Constructor Description BatchTransformatorCommon()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetContentLength(Header headers)static voidvalidateContentTransferEncoding(Header headers, boolean isChangeRequest)static voidvalidateContentType(Header headers)static voidvalidateHost(Header headers, String baseUri)
-
-
-
Method Detail
-
validateContentType
public static void validateContentType(Header headers) throws BatchException
- Throws:
BatchException
-
validateContentTransferEncoding
public static void validateContentTransferEncoding(Header headers, boolean isChangeRequest) throws BatchException
- Throws:
BatchException
-
getContentLength
public static int getContentLength(Header headers) throws BatchException
- Throws:
BatchException
-
validateHost
public static void validateHost(Header headers, String baseUri) throws BatchException
- Throws:
BatchException
-
-