Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2014 Red Hat, Inc.. All rights reserved. This program and the accompanying materials are made available under the terms of the GNU Public License v3.0 which accompanies this distribution, and is available at Contributors: Red Hat, Inc. - initial API and implementation /
package org.commonjava.aprox.core.bind.vertx;
import static org.commonjava.aprox.bind.vertx.util.ResponseUtils.formatRedirect;
@Handles( key = "apiRootRedirector", prefix = "/" )
public class RootResource
    implements RequestHandler
    private UriFormatter uriFormatter;
    @Routes( { @Route( method = . ) } )
    public void rootStatsfinal Buffer bufferfinal HttpServerRequest request )
        formatRedirectrequest.formatAbsolutePathTo"stats/version-info" ) );
New to GrepCode? Check out our FAQ X