Serializable classes do not declare serialVersionUID.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1725777 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5db1758215
commit
89ae855bf9
|
@ -35,6 +35,7 @@ import org.apache.hc.core5.http.message.AbstractHttpMessage;
|
|||
|
||||
public abstract class AbstractExecutionAwareRequest extends AbstractHttpMessage implements HttpExecutionAware, HttpRequest {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private final AtomicBoolean aborted;
|
||||
private final AtomicReference<Cancellable> cancellableRef;
|
||||
|
||||
|
|
|
@ -49,6 +49,7 @@ import org.apache.hc.core5.annotation.NotThreadSafe;
|
|||
@NotThreadSafe // HttpRequestBase is @NotThreadSafe
|
||||
public class HttpDelete extends HttpRequestBase {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public final static String METHOD_NAME = "DELETE";
|
||||
|
||||
|
||||
|
|
|
@ -50,6 +50,7 @@ import org.apache.hc.core5.annotation.NotThreadSafe;
|
|||
@NotThreadSafe
|
||||
public class HttpGet extends HttpRequestBase {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public final static String METHOD_NAME = "GET";
|
||||
|
||||
public HttpGet() {
|
||||
|
|
|
@ -53,6 +53,7 @@ import org.apache.hc.core5.annotation.NotThreadSafe;
|
|||
@NotThreadSafe
|
||||
public class HttpHead extends HttpRequestBase {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public final static String METHOD_NAME = "HEAD";
|
||||
|
||||
public HttpHead() {
|
||||
|
|
|
@ -58,6 +58,7 @@ import org.apache.hc.core5.util.Args;
|
|||
@NotThreadSafe
|
||||
public class HttpOptions extends HttpRequestBase {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public final static String METHOD_NAME = "OPTIONS";
|
||||
|
||||
public HttpOptions() {
|
||||
|
|
|
@ -53,6 +53,7 @@ import org.apache.hc.core5.annotation.NotThreadSafe;
|
|||
@NotThreadSafe
|
||||
public class HttpPatch extends HttpRequestBase {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public final static String METHOD_NAME = "PATCH";
|
||||
|
||||
public HttpPatch() {
|
||||
|
|
|
@ -57,6 +57,7 @@ import org.apache.hc.core5.annotation.NotThreadSafe;
|
|||
@NotThreadSafe
|
||||
public class HttpPost extends HttpRequestBase {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public final static String METHOD_NAME = "POST";
|
||||
|
||||
public HttpPost() {
|
||||
|
|
|
@ -49,6 +49,7 @@ import org.apache.hc.core5.annotation.NotThreadSafe;
|
|||
@NotThreadSafe
|
||||
public class HttpPut extends HttpRequestBase {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public final static String METHOD_NAME = "PUT";
|
||||
|
||||
public HttpPut() {
|
||||
|
|
|
@ -45,6 +45,7 @@ import org.apache.hc.core5.http.message.BasicRequestLine;
|
|||
public abstract class HttpRequestBase extends AbstractExecutionAwareRequest
|
||||
implements HttpUriRequest, Configurable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private ProtocolVersion version;
|
||||
private URI uri;
|
||||
private RequestConfig config;
|
||||
|
|
|
@ -48,6 +48,7 @@ import org.apache.hc.core5.util.Args;
|
|||
@NotThreadSafe
|
||||
public class HttpRequestWrapper extends AbstractHttpMessage implements HttpUriRequest {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private final HttpRequest original;
|
||||
private final HttpHost target;
|
||||
private final String method;
|
||||
|
|
|
@ -52,6 +52,7 @@ import org.apache.hc.core5.annotation.NotThreadSafe;
|
|||
@NotThreadSafe
|
||||
public class HttpTrace extends HttpRequestBase {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public final static String METHOD_NAME = "TRACE";
|
||||
|
||||
public HttpTrace() {
|
||||
|
|
|
@ -485,6 +485,7 @@ public class RequestBuilder {
|
|||
|
||||
static class InternalRequest extends HttpRequestBase {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private final String method;
|
||||
|
||||
InternalRequest(final String method) {
|
||||
|
|
Loading…
Reference in New Issue