Examples of PFieldExt


Examples of com.fineqt.fpb.lib.type.PFieldExt

        @Override
        protected DecodeResult postDecode(DecodeContext cxt, IReadableBitBuffer input,
                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();
View Full Code Here

Examples of com.fineqt.fpb.lib.type.PFieldExt

            boolean ret = super.postDecodeItem(cxt, input, paras, parentResult,
                    itemResult, itemMeta);
            if (!ret) {
                return ret;
            }
            PFieldExt fieldMeta = (PFieldExt)paras.getItemFieldMeta();
            CommonContext.FieldStackMap fieldStack = cxt.getFieldStackMap();
            if (fieldMeta != null && fieldMeta.getFieldID() == HTTP_MESSAGE__TRAILERS) {
                @SuppressWarnings("unchecked")
                Set<String> nameSet = (Set<String>)fieldStack.peekField(
                        StackFields.TRAILER_NAMES);
                assert nameSet != null;
                IRecordSetValue trailer = (IRecordSetValue)itemResult.getValue();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.