morgand 01/08/29 16:14:58 Modified: latka/src/java/org/apache/commons/latka/http Session.java SessionImpl.java Log: added Javadocs Revision Changes Path 1.5 +5 -6 jakarta-commons/latka/src/java/org/apache/commons/latka/http/Session.java Index: Session.java =================================================================== RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/http/Session.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Session.java 2001/08/23 16:24:26 1.4 +++ Session.java 2001/08/29 23:14:58 1.5 @@ -73,13 +73,12 @@ /** * Creates a request object with the specified URL and HTTP Method. - * - * @param url The URL to request of the HTTP server. - * @param httpMethod An integer representing the HTTP method (e.g. GET, PUT) used to communicate with server. - * {@link} org.apache.commons.latka.http.Request.HTTP_METHOD_GET - * {@link} org.apache.commons.latka.http.Request.HTTP_METHOD_POST - * + * + * @param url The URL to request of the HTTP server. + * @param httpMethod An integer representing the HTTP method (e.g. GET, PUT) used to communicate with server. * @return a new <code>Request</code> object representing the <code>url</code> and <code>httpMethod</code> + * @see org.apache.commons.latka.http.Request#HTTP_METHOD_GET + * @see org.apache.commons.latka.http.Request#HTTP_METHOD_POST */ public Request createRequest(URL url, int httpMethod); public Request createRequest(String label, URL url, int httpMethod,boolean followRedirects); 1.5 +5 -6 jakarta-commons/latka/src/java/org/apache/commons/latka/http/SessionImpl.java Index: SessionImpl.java =================================================================== RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/http/SessionImpl.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- SessionImpl.java 2001/08/23 16:24:26 1.4 +++ SessionImpl.java 2001/08/29 23:14:58 1.5 @@ -149,13 +149,12 @@ /** * Creates a request object with the specified URL and HTTP Method. - * - * @param url The URL to request of the HTTP server. - * @param httpMethod An integer representing the HTTP method (e.g. GET, PUT) used to communicate with server. - * {@link} org.apache.commons.latka.http.Request.HTTP_METHOD_GET - * {@link} org.apache.commons.latka.http.Request.HTTP_METHOD_POST - * + * + * @param url The URL to request of the HTTP server. + * @param httpMethod An integer representing the HTTP method (e.g. GET, PUT) used to communicate with server. * @return a new <code>Request</code> object representing the <code>url</code> and <code>httpMethod</code> + * @see org.apache.commons.latka.http.Request#HTTP_METHOD_GET + * @see org.apache.commons.latka.http.Request#HTTP_METHOD_POST */ public Request createRequest(URL url, int httpMethod) { return createRequest(null,url,httpMethod,true);