Package org.restlet.data

Examples of org.restlet.data.Expectation


        super(header);
    }

    @Override
    protected Parameter createParameter(String name, String value) {
        return new Expectation(name, value);
    }
View Full Code Here


        return new Expectation(name, value);
    }

    @Override
    public Expectation readValue() throws IOException {
        Expectation result = (Expectation) readParameter();

        while (skipParameterSeparator()) {
            result.getParameters().add(readParameter());
        }

        return result;
    }
View Full Code Here

TOP

Related Classes of org.restlet.data.Expectation

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.