Package com.alibaba.citrus.service.requestcontext.util

Examples of com.alibaba.citrus.service.requestcontext.util.ValueList


     *
     * @param key ������
     * @return <code>FileItem</code>����
     */
    public FileItem getFileItem(String key) {
        ValueList container = getValueList(key, false);

        return container == null ? null : container.getFileItem();
    }
View Full Code Here


     *
     * @param key ������
     * @return <code>FileItem</code>���������
     */
    public FileItem[] getFileItems(String key) {
        ValueList container = getValueList(key, false);

        return container == null ? new FileItem[0] : container.getFileItems();
    }
View Full Code Here

     *
     * @param key ������
     * @return ����ֵ
     */
    public boolean getBoolean(String key) {
        ValueList container = getValueList(key, false);
        return container == null ? false : container.getBooleanValue();
    }
View Full Code Here

     * @param key ������
     * @param defaultValue Ĭ��ֵ
     * @return ����ֵ
     */
    public boolean getBoolean(String key, boolean defaultValue) {
        ValueList container = getValueList(key, false);
        return container == null ? defaultValue : container.getBooleanValue(defaultValue);
    }
View Full Code Here

     *
     * @param key ������
     * @return ����ֵ
     */
    public byte getByte(String key) {
        ValueList container = getValueList(key, false);
        return container == null ? 0 : container.getByteValue();
    }
View Full Code Here

     * @param key ������
     * @param defaultValue Ĭ��ֵ
     * @return ����ֵ
     */
    public byte getByte(String key, byte defaultValue) {
        ValueList container = getValueList(key, false);
        return container == null ? defaultValue : container.getByteValue(defaultValue);
    }
View Full Code Here

     * @param key ������
     * @return ����ֵ���ֽ����飬������������ڣ��򷵻�<code>null</code>
     * @throws UnsupportedEncodingException ���ָ���˴���ı����ַ���
     */
    public byte[] getBytes(String key) throws UnsupportedEncodingException {
        ValueList container = getValueList(key, false);
        return container == null ? EMPTY_BYTE_ARRAY : container.getBytes(getCharacterEncoding());
    }
View Full Code Here

     *
     * @param key ������
     * @return ����ֵ
     */
    public char getChar(String key) {
        ValueList container = getValueList(key, false);
        return container == null ? '\0' : container.getCharacterValue();
    }
View Full Code Here

     * @param key ������
     * @param defaultValue Ĭ��ֵ
     * @return ����ֵ
     */
    public char getChar(String key, char defaultValue) {
        ValueList container = getValueList(key, false);
        return container == null ? defaultValue : container.getCharacterValue(defaultValue);
    }
View Full Code Here

     *
     * @param key ������
     * @return ����ֵ
     */
    public double getDouble(String key) {
        ValueList container = getValueList(key, false);
        return container == null ? 0 : container.getDoubleValue();
    }
View Full Code Here

TOP

Related Classes of com.alibaba.citrus.service.requestcontext.util.ValueList

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.