public class Response extends Object
Modifier and Type | Field and Description |
---|---|
DebugOutput |
debugOutput
Debugging and profiling information
|
ElevationMetadata |
elevationMetadata |
HashMap<String,String> |
requestParameters
A dictionary of the parameters provided in the request that triggered this response.
|
Constructor and Description |
---|
Response(javax.ws.rs.core.UriInfo info)
Construct an new response initialized with all the incoming query parameters.
|
Modifier and Type | Method and Description |
---|---|
PlannerError |
getError()
The error (if any) that this response raised.
|
TripPlan |
getPlan()
The actual trip plan.
|
void |
setError(PlannerError error) |
void |
setPlan(TripPlan plan) |
public HashMap<String,String> requestParameters
public DebugOutput debugOutput
public ElevationMetadata elevationMetadata
public Response(javax.ws.rs.core.UriInfo info)
public TripPlan getPlan()
public void setPlan(TripPlan plan)
public PlannerError getError()
public void setError(PlannerError error)
Copyright © 2018. All rights reserved.