a HTTP -> an HTTP

This commit is contained in:
Arjen Poutsma 2010-03-11 12:57:52 +00:00
parent 81b10be1d0
commit 88773ae7f1
8 changed files with 48 additions and 16 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2009 the original author or authors. * Copyright 2002-2010 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -20,10 +20,10 @@ import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
/** /**
* Represents a HTTP output message, consisting of {@linkplain #getHeaders() headers} * Represents an HTTP output message, consisting of {@linkplain #getHeaders() headers}
* and a readable {@linkplain #getBody() body}. * and a readable {@linkplain #getBody() body}.
* *
* <p>Typically implemented by a HTTP request on the server-side, or a response on the client-side. * <p>Typically implemented by an HTTP request on the server-side, or a response on the client-side.
* *
* @author Arjen Poutsma * @author Arjen Poutsma
* @since 3.0 * @since 3.0

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2009 the original author or authors. * Copyright 2002-2010 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -20,10 +20,10 @@ import java.io.IOException;
import java.io.OutputStream; import java.io.OutputStream;
/** /**
* Represents a HTTP output message, consisting of {@linkplain #getHeaders() headers} * Represents an HTTP output message, consisting of {@linkplain #getHeaders() headers}
* and a writable {@linkplain #getBody() body}. * and a writable {@linkplain #getBody() body}.
* *
* <p>Typically implemented by a HTTP request on the client-side, or a response on the server-side. * <p>Typically implemented by an HTTP request on the client-side, or a response on the server-side.
* *
* @author Arjen Poutsma * @author Arjen Poutsma
* @since 3.0 * @since 3.0

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2009 the original author or authors. * Copyright 2002-2010 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -16,7 +16,7 @@
/** /**
* *
* Provides a HttpMessageConverter implementations for handling JSON. * Provides an HttpMessageConverter implementations for handling JSON.
* *
*/ */
package org.springframework.http.converter.json; package org.springframework.http.converter.json;

View File

@ -1,7 +1,23 @@
/*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/** /**
* *
* Provides a HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages. * Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
* *
*/ */
package org.springframework.http.converter; package org.springframework.http.converter;

View File

@ -1,7 +1,23 @@
/*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/** /**
* *
* Provides a HttpMessageConverter implementations for handling XML. * Provides an HttpMessageConverter implementations for handling XML.
* *
*/ */
package org.springframework.http.converter.xml; package org.springframework.http.converter.xml;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2009 the original author or authors. * Copyright 2002-2010 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -19,7 +19,7 @@ package org.springframework.web.client;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
/** /**
* Exception thrown when a HTTP 4xx is received. * Exception thrown when an HTTP 4xx is received.
* *
* @author Arjen Poutsma * @author Arjen Poutsma
* @since 3.0 * @since 3.0

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2009 the original author or authors. * Copyright 2002-2010 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -19,7 +19,7 @@ package org.springframework.web.client;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
/** /**
* Exception thrown when a HTTP 5xx is received. * Exception thrown when an HTTP 5xx is received.
* *
* @author Arjen Poutsma * @author Arjen Poutsma
* @since 3.0 * @since 3.0

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2005 the original author or authors. * Copyright 2002-2010 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -24,7 +24,7 @@ import org.springframework.core.io.Resource;
/** /**
* ResourceLoader implementation that resolves paths as ServletContext * ResourceLoader implementation that resolves paths as ServletContext
* resources, for use outside a WebApplicationContext (for example, * resources, for use outside a WebApplicationContext (for example,
* in a HttpServletBean or GenericFilterBean subclass). * in an HttpServletBean or GenericFilterBean subclass).
* *
* <p>Within a WebApplicationContext, resource paths are automatically * <p>Within a WebApplicationContext, resource paths are automatically
* resolved as ServletContext resources by the context implementation. * resolved as ServletContext resources by the context implementation.