public final class Response extends Object
| Constructor and Description |
|---|
Response(HRef hRef,
Error error,
ResponseDescription responseDescription,
Location location,
Collection<PropStat> propStats)
Deprecated.
Since 1.2, as the provided
propStats collection is not necessarily immutable and there is no standard Java way to enforce
immutability. Use Response(HRef, Error, ResponseDescription, Location, PropStat, PropStat...) instead. |
Response(HRef hRef,
Error error,
ResponseDescription responseDescription,
Location location,
PropStat propStat,
PropStat... propStats) |
Response(Status status,
Error error,
ResponseDescription responseDescription,
Location location,
HRef hRef,
HRef... hRefs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Error |
getError() |
List<HRef> |
getHRefs() |
Location |
getLocation() |
List<PropStat> |
getPropStats() |
ResponseDescription |
getResponseDescription() |
Status |
getStatus() |
int |
hashCode() |
String |
toString() |
public Response(HRef hRef, Error error, ResponseDescription responseDescription, Location location, PropStat propStat, PropStat... propStats)
@Deprecated public Response(HRef hRef, Error error, ResponseDescription responseDescription, Location location, Collection<PropStat> propStats)
propStats collection is not necessarily immutable and there is no standard Java way to enforce
immutability. Use Response(HRef, Error, ResponseDescription, Location, PropStat, PropStat...) instead.public final Status getStatus()
public final Error getError()
public final ResponseDescription getResponseDescription()
public final Location getLocation()
Copyright © 2008-2014 The java.net WebDAV Project. All Rights Reserved.