Examples of URL

Some strange example below:

@author william.liangf @author ding.lid @see java.net.URL @see java.net.URI
  • com.bleujin.framework.valid.validator.Url
  • com.borland.primetime.vfs.Url
  • com.cloudhopper.commons.util.URL
    rname [: password ]@] host [: port ][/path][?query_string][#anchor] The best method for creating a URL is to use the URLParser class. While this utility class doesn't provide any more features yet than the internal Java URL class, the plan is to add those in the future. Also, this class and its associated parser internally use the modern StringBuilder class vs. the StringBuffer class and avoid any synchronization overhead. @author joelauer (twitter: @jjlauer or http://twitter.com/jjlauer)
  • com.colorfulsoftware.rss.URL
    .law.harvard.edu/rss/rss.html">RSS 2.0 specification...

    This class models a <url> element in an rss feed.

    @author Bill Brown
  • com.cosmo.net.URL

    @author Gerard Llort
  • com.ctlok.springframework.web.servlet.view.rythm.tag.Url
    @author Lawrence Cheung
  • com.dianping.cat.home.heavy.entity.Url
  • com.github.jsonldjava.utils.URL
  • com.github.restdriver.serverdriver.http.Url
    Class to help with building of URLs.
  • com.google.api.gwt.samples.urlshortener.shared.Url
    Definition of a "URL" object. @author jasonhall@google.com (Jason Hall)
  • com.google.api.services.urlshortener.model.Url

    @author Google, Inc.
  • com.google.speedtracer.client.util.Url
    Utility class for extracting parts of a URL String.
  • com.intellij.util.Url
  • com.jada.xml.sitemap.Url
  • com.mastfrog.url.URL
  • com.mockey.model.Url
    A Url is the specific http url of a Service.
  • com.ocpsoft.pretty.faces.url.URL
  • com.restfb.types.Url
    com">Mark Allen @deprecated As of 1.6.10, this type is deprecated and will be removed in a future release.
  • com.rosaloves.bitlyj.Url
  • com.sun.grizzly.util.net.URL
  • com.sun.star.util.URL
  • cosc561.searchengine.entities.Url
    @author jraymond
  • etch.util.URL
  • io.mola.galimatias.URL
    A parsed URL. Immutable.
  • java.net.URL
    ocs.uts.edu.au/MosaicDocs-old/url-primer.html"> http://www.socs.uts.edu.au/MosaicDocs-old/url-primer.html

    In general, a URL can be broken into several parts. The previous example of a URL indicates that the protocol to use is http (HyperText Transfer Protocol) and that the information resides on a host machine named www.socs.uts.edu.au. The information on that host machine is named /MosaicDocs-old/url-primer.html. The exact meaning of this name on the host machine is both protocol dependent and host dependent. The information normally resides in a file, but it could be generated on the fly. This component of the URL is called the path component.

    A URL can optionally specify a "port", which is the port number to which the TCP connection is made on the remote host machine. If the port is not specified, the default port for the protocol is used instead. For example, the default port for http is 80. An alternative port could be specified as:


    The syntax of URL is defined by RFC 2396: Uniform Resource Identifiers (URI): Generic Syntax, amended by RFC 2732: Format for Literal IPv6 Addresses in URLs. The Literal IPv6 address format also supports scope_ids. The syntax and usage of scope_ids is described here.

    A URL may have appended to it a "fragment", also known as a "ref" or a "reference". The fragment is indicated by the sharp sign character "#" followed by more characters. For example,


    This fragment is not technically part of the URL. Rather, it indicates that after the specified resource is retrieved, the application is specifically interested in that part of the document that has the tag chapter1 attached to it. The meaning of a tag is resource specific.

    An application can also specify a "relative URL", which contains only enough information to reach the resource relative to another URL. Relative URLs are frequently used within HTML pages. For example, if the contents of the URL:

    contained within it the relative URL:
    it would be a shorthand for:

    The relative URL need not specify all the components of a URL. If the protocol, host name, or port number is missing, the value is inherited from the fully specified URL. The file component must be specified. The optional fragment is not inherited.

    The URL class does not itself encode or decode any URL components according to the escaping mechanism defined in RFC2396. It is the responsibility of the caller to encode any fields, which need to be escaped prior to calling URL, and also to decode any escaped fields, that are returned from URL. Furthermore, because URL has no knowledge of URL escaping, it does not recognise equivalence between the encoded or decoded form of the same URL. For example, the two URLs:

        http://foo.com/hello world/ and http://foo.com/hello%20world
    would be considered not equal to each other.

    Note, the {@link java.net.URI} class does perform escaping of itscomponent fields in certain circumstances. The recommended way to manage the encoding and decoding of URLs is to use {@link java.net.URI}, and to convert between these two classes using {@link #toURI()} and{@link URI#toURL()}.

    The {@link URLEncoder} and {@link URLDecoder} classes can also beused, but only for HTML form encoding, which is not the same as the encoding scheme defined in RFC2396. @author James Gosling @version 1.136, 04/30/09 @since JDK1.0

  • net.csdn.common.path.Url
    BlogInfo: william Date: 11-9-26 Time: 上午10:31
  • net.fortuna.ical4j.model.property.Url
  • net.vidageek.crawler.Url
    @author jonasabreu
  • org.apache.abdera.ext.opensearch.model.Url
    Open Search 1.1 Url element: describes an interface by which a search client can make search requests.
    This supports all parts of the Open Search 1.1 Url specification.
  • org.apache.axis2.util.URL
  • org.apache.catalina.util.URL

    FIXME - This class really ought to end up in a Commons package someplace.

    @author Craig R. McClanahan @version $Revision: 466595 $ $Date: 2006-10-21 23:24:41 +0100 (Sat, 21 Oct 2006) $
  • org.apache.directory.ldapstudio.browser.core.model.URL
    An URL represents a LDAP URL. @author Apache Directory Project @version $Rev$, $Date$
  • org.apache.directory.studio.ldapbrowser.core.model.URL
    An URL represents a LDAP URL. @author Apache Directory Project @version $Rev$, $Date$
  • org.apache.etch.util.URL
  • org.apache.hadoop.yarn.api.records.URL

    URL represents a serializable {@link java.net.URL}.

  • org.apache.shindig.social.opensocial.model.Url
    The base interface of all Url objects.
  • org.apache.struts2.components.URL
    ost>:<port>/<context>/editUser.action?id=3333&name=John the generated url will be http://<host>:<port>/<context>/editUser.action?id=22&name=John because the parameter defined in the param tag will take precedence.


      <-- Example 1 --> <s:url value="editGadget.action"> <s:param name="id" value="%{selected}" /> </s:url> <-- Example 2 --> <s:url action="editGadget"> <s:param name="id" value="%{selected}" /> </s:url> <-- Example 3--> <s:url includeParams="get"> <s:param name="id" value="%{'22'}" /> </s:url>  
    @see Param
  • org.apache.tomcat.util.net.URL

    FIXME - This class really ought to end up in a Commons package someplace.

    @author Craig R. McClanahan @version $Revision: 466585 $ $Date: 2006-10-21 23:16:34 +0100 (Sat, 21 Oct 2006) $
  • org.apache.wicket.ng.request.Url
  • org.apache.wicket.request.Url
    ame:1234/foo/bar?a=b - protocol: http, host: hostname, port: 1234, segments: ["foo","bar"]
  • //hostname:1234/foo/bar?a=b - protocol: null, host: hostname, port: 1234, segments: ["foo","bar"]
  • foo/bar/baz?a=1&b=5 - segments: ["foo","bar","baz"], query parameters: ["a"="1", "b"="5"]
  • foo/bar//baz?=4&6 - segments: ["foo", "bar", "", "baz"], query parameters: [""="4", "6"=""]
  • /foo/bar/ - segments: ["", "foo", "bar", ""]
  • foo/bar// - segments: ["foo", "bar", "", ""]
  • ?a=b - segments: [ ], query parameters: ["a"="b"]
  • The Url class takes care of encoding and decoding of the segments and parameters. @author Matej Knopp @author Igor Vaynberg
  • org.b3log.solo.model.sitemap.URL
    3log.org">Liang Ding @version, Sep 22, 2011 @since 0.3.1
  • org.hibernate.validator.constraints.URL
  • org.jboss.as.controller.descriptions.ModelDescriptionConstants.URL
  • org.jboss.as.security.Constants.URL
  • org.qi4j.test.indexing.model.URL
    JAVADOC Add JavaDoc.
  • org.rhq.plugins.netservices.HTTPNetServiceComponent.ConfigKeys.URL
  • org.wso2.carbon.registry.social.api.people.userprofile.model.Url
  • org.xrace.desjardins.reponse.Url
    Class Url. @version $Revision$ $Date$
  • org.xrace.desjardins.request.Url
    Class Url. @version $Revision$ $Date$
  • org.xrace.desjardins.trx.Url
    Class Url. @version $Revision$ $Date$
  • org.xtext.httprouting.route.URL
    A representation of the model object 'URL'.

    The following features are supported:

    @see org.xtext.httprouting.route.RoutePackage#getURL() @model @generated
  • org.yinwang.pysonar.ast.Url
    virtual-AST node used to represent virtual source locations for builtins as external urls.
  • railo.runtime.type.scope.URL
    inteface for the url scope
  • smartrics.rest.fitnesse.fixture.support.Url
    Facade to {@link java.net.URL}. Just to offer a REST oriented interface. @author smartrics

  • Examples of br.com.caelum.restfulie.opensearch.Url

      public void shouldUseTheRightUrl() {
        SearchDescription desc = (SearchDescription) xstream.fromXML(new StringReader(xml));
        Url url = desc.use("application/json");
        assertThat(url.getType(), is(equalTo("application/json")));
        assertThat(url.getTemplate(), is(equalTo("http://localhost:3000/products?q={searchTerms}&pw={startPage?}&format=json")));
    View Full Code Here

    Examples of com.alibaba.dubbo.common.URL


        public <T> Exporter<T> export( Invoker<T> invoker ) throws RpcException {

            // 只能使用 thrift codec
            URL url = invoker.getUrl().addParameter(Constants.CODEC_KEY, ThriftCodec.NAME);
            // find server.
            String key = url.getAddress();
            //client 也可以暴露一个只有server可以调用的服务。
            boolean isServer = url.getParameter(Constants.IS_SERVER_KEY,true);
            if (isServer && ! serverMap.containsKey(key)) {
                serverMap.put(key, getServer(url));
            // export service.
            key = serviceKey(url);
    View Full Code Here

    Examples of com.bleujin.framework.valid.validator.Url


      public void testUrl() throws Exception {
        b.setSvalue("http://abc.com") ;
        assertEquals(true, new Url(b, SVALIE).isValid()) ;

        b.setSvalue("http://abc.com/111.htm") ;
        assertEquals(true, new Url(b, SVALIE).isValid()) ;

        b.setSvalue("http://abc.com/111.asp?adcd=ccd&acd=cd") ;
        assertEquals(true, new Url(b, SVALIE).isValid()) ;

        b.setSvalue("http://abc.com/111.htm?adcd=�ѱ�") ;
        assertEquals(false, new Url(b, SVALIE).isValid()) ;

        b.setSvalue("http://abc.com/111.asp?adcd=%20&acd=cd#addd") ;
        assertEquals(true, new Url(b, SVALIE).isValid()) ;
    View Full Code Here

    Examples of com.borland.primetime.vfs.Url

            throws Exception
            long lastModified=Long.parseLong( BBQPathsGroup.updateTimeProperty.
                getValue( node));
            String classPath=BBQPathsGroup.classPathProperty.getValue( node);
            Url classUrl;
            if ( classPath.length()==0)
                classUrl=new Url( classPath);
            button.setEnabled( false);
            ( new UpdateDBThread( classUrl, button, lastModified, node)).start();
    View Full Code Here

    Examples of com.cloudhopper.commons.util.URL

         * Creates a new RemoteFileSystem by parsing the URL and creating the
         * correct underlying provider to support the protocol.
        public static RemoteFileSystem create(String url) throws MalformedURLException, FileSystemException {
            // parse url into a URL object
            URL r = URLParser.parse(url);
            // delegate responsibility to other method
            return create(r);
    View Full Code Here

    Examples of com.colorfulsoftware.rss.URL

       * tests builidng an image object.
      public void testBuildImage() {
        URL url = null;
        Title title = null;
        Link link = null;
        try {
          rssDoc.buildImage(url, title, link, null, null, null);
          fail("we should have thrown an exception above.");
    View Full Code Here

    Examples of com.cosmo.net.URL

          ctrl = template.getControl(WIDGET_ID);

          if (!getWorkspace().isValidUserSession())
             // Configura la url del login
             URL url = new URL(getWorkspace().getProperties().getSecurityProperties().getLoginPage());
             url.addParameter("tourl", getWorkspace().getRequestedUrl());

             // Genera el XHTML del widget
             xhtml += ctrl.getElement(WPART_LOGIN);
             xhtml = Control.replaceTag(xhtml, TAG_HREF, url.build(getWorkspace().getCharset()));
             // Configura la url del login
             URL url = new URL("LogoutPage");
             url.addParameter("tourl", getWorkspace().getRequestedUrl());

             // Genera el XHTML del widget
             xhtml += ctrl.getElement(WPART_LOGOUT);
             xhtml = Control.replaceTag(xhtml, TAG_HREF, url.build(getWorkspace().getCharset()));
             xhtml = Control.replaceTag(xhtml, TAG_USER, getWorkspace().getUserSession().getCurrentUser().getLogin());

          return xhtml;
    View Full Code Here

    Examples of com.ctlok.springframework.web.servlet.view.rythm.tag.Url

        protected List<ITemplate> createBuiltInTags(){
            final List<ITemplate> tags = new ArrayList<ITemplate>();
            tags.add(new Url());
            tags.add(new FullUrl());
            tags.add(new Message(getApplicationContext()));
            tags.add(new Secured());
            tags.add(new DateFormat());
            tags.add(new CookieValue());
    View Full Code Here

    Examples of com.dianping.cat.home.heavy.entity.Url

        if ("Call".equals(type)) {
          HeavyCall call = m_report.getHeavyCall();
          String key = m_currentDomain + ":" + m_currentName;
          if (m_currentType.equals("URL")) {
            if (max > 10) {
              Url url = call.findOrCreateUrl(key);
              updateUrl(url, logview, max);
          } else {
            if (max > 10) {
              Service service = call.findOrCreateService(key);
              updateService(service, logview, max);
        } else if ("SQL".equals(type)) {
          HeavySql sql = m_report.getHeavySql();
          String key = m_currentDomain + ":" + m_currentName;
          if (m_currentType.equals("URL")) {
            if (max > 20) {
              Url url = sql.findOrCreateUrl(key);
              updateUrl(url, logview, max);
          } else {
            if (max > 20) {
              Service service = sql.findOrCreateService(key);
              updateService(service, logview, max);
        } else if ("Cache".equals(type)) {
          HeavyCache cache = m_report.getHeavyCache();
          String key = m_currentDomain + ":" + m_currentName;
          if (m_currentType.equals("URL")) {
            if (max > 100) {
              Url url = cache.findOrCreateUrl(key);
              updateUrl(url, logview, max);
          } else {
            if (max > 100) {
              Service service = cache.findOrCreateService(key);
    View Full Code Here

    Examples of com.github.jsonldjava.utils.URL

            if (iri.indexOf(":") != -1) {
                return iri;

            // parse base if it is a string
            URL base;
            if (isString(baseobj)) {
                base = URL.parse((String) baseobj);
            } else {
                // assume base is already a URL
                base = (URL) baseobj;

            final URL rel = URL.parse(iri);

            // start hierarchical part
            String hierPart = base.protocol;
            if (!"".equals(rel.authority)) {
                hierPart += "//" + rel.authority;
    View Full Code Here
    Copyright © 2018 www.massapi.com. 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.