Package com.fineqt.fpb.lib.api

Examples of com.fineqt.fpb.lib.api.IFactory


                DecodeParameters paras, DecodeResult parentResult,
                DecodeResult fieldResult, PFieldExt fieldMeta) throws DecodeException {
            boolean ret = super.postDecodeField(cxt, input, paras, parentResult,
                    fieldResult, fieldMeta);
            if (fieldMeta.getFieldID() == HTTP_CHUNK__LENGTH_LINE) {
                IFactory factory = getPModule().getFactory();
                IContainerValue lengthLine = (IContainerValue)fieldResult.getValue();
                if (lengthLine != null) {
                    ICharstringValue lenValue = (ICharstringValue)lengthLine.getField(
                            HTTP_CHUNK_LENGTH_LINE__CHUNK_LENGTH);
                    IBooleanValue chunked = factory.createBoolean();
                    if (lenValue != null && !lenValue.getText().equals("0")){
                        //hasChunkData
                        chunked.setBoolean(true);
                    } else {
                        //hasChunkData
View Full Code Here


                DecodeParameters paras, DecodeResult result) throws DecodeException {
            DecodeResult ret = super.postDecode(cxt, input, paras, result);
            PFieldExt fieldMeta = (PFieldExt)paras.getItemFieldMeta();
            //已解码Header的处理
            if (fieldMeta != null && fieldMeta.getFieldID() == HTTP_MESSAGE__HEADERS) {
                IFactory factory = getPModule().getFactory();
                CommonContext.FieldStackMap fieldStack = cxt.getFieldStackMap();
                @SuppressWarnings("unchecked")
                IListValue<IRecordSetValue> headers =
                    (IListValue<IRecordSetValue>)result.getValue();
                if (headers != null) {
View Full Code Here

TOP

Related Classes of com.fineqt.fpb.lib.api.IFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.