Package pygmy.core

Examples of pygmy.core.UUID


        String topicUuidStr = request.getParameter("topic");
        String contents = request.getParameter("contents");

//        if( topicUuidStr == null ) return readForum( request, response );

        UUID topicUuid = UUID.parse( topicUuidStr );
        UUID parentMessage = null;
        if( messageUuidStr != null ) {
            parentMessage = UUID.parse( messageUuidStr );
        }

//        NewsGroup topic = forum.getTopic( topicUuid );
View Full Code Here


    }

    private boolean readTopic(HttpRequest request, HttpResponse response) throws IOException {
        String messageStart = request.getParameter("messageStart");
        String numberToDisplay = request.getParameter("display");
        UUID topicUuid = UUID.parse( request.getParameter("topic") );

        UUID startingMessage = null;
        if( messageStart == null ) {
//            startingMessage = forum.getTopic( topicUuid ).first();
        } else {
            startingMessage = UUID.parse( messageStart );
        }
View Full Code Here

    private boolean readMessage(HttpRequest request, HttpResponse response) throws IOException {
        String messageStr = request.getParameter("message");
        String topicStr = request.getParameter("topic");
        if( messageStr == null ) return false;

        UUID message = UUID.parse( messageStr );
        UUID topicUuid = UUID.parse( topicStr );

        showMessage(topicUuid, message, request, response);
        return true;
    }
View Full Code Here

TOP

Related Classes of pygmy.core.UUID

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.