Package org.apache.abdera.protocol.server.impl

Examples of org.apache.abdera.protocol.server.impl.SimpleTarget


  }
 
  protected Target initTarget() {
    try {
      Target target = provider.resolveTarget(this);
      return target != null ? target : new SimpleTarget(TargetType.TYPE_NOT_FOUND, this);
    } catch (Exception e) {
      throw new RuntimeException(e);
    }
  }
View Full Code Here


            uri = uri.substring(APPConstants.RESOURCE.length());
            isMedia = true;
        } else if (uri.startsWith(APPConstants.ATOM)) {
            uri = uri.substring(APPConstants.ATOM.length());
        } else if (uri.startsWith("/tags") && (uri.length() == 5 || uri.charAt(5) == '/')) {
            return new SimpleTarget(TAG_URL_TYPE, context);
        } else {
            return null;
        }

        if (uri.length() == 0) {
View Full Code Here

    }

    protected Target initTarget() {
        try {
            Target target = provider.resolveTarget(this);
            return target != null ? target : new SimpleTarget(TargetType.TYPE_NOT_FOUND, this);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.abdera.protocol.server.impl.SimpleTarget

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.