Linking to an external URL in Javadoc?

后端 未结 4 2144
孤街浪徒
孤街浪徒 2020-12-12 09:07

Something like:

/**
 * See {@linktourl http://google.com}
 */
4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-12 09:43

    Hard to find a clear answer from the Oracle site. The following is from javax.ws.rs.core.HttpHeaders.java:

    /**
     * See {@link HTTP/1.1 documentation}.
     */
    public static final String ACCEPT = "Accept";
    
    /**
     * See {@link HTTP/1.1 documentation}.
     */
    public static final String ACCEPT_CHARSET = "Accept-Charset";
    

提交回复
热议问题