public interface HttpRedirectApi
| Modifier and Type | Method and Description |
|---|---|
HttpRedirect |
getHttpRedirect(String fqdn)
Gets the HttpRedirect or null if not present.
|
com.google.common.collect.FluentIterable<String> |
list()
Retrieves a list of HTTP Redirects in the given zone.
|
Job |
scheduleCreate(HttpRedirect newRedirect)
Schedules addition of a new HTTP redirect into the current session.
|
Job |
scheduleDelete(String fqdn)
Schedules deletion of a redirect into the current session.
|
Job |
scheduleUpdate(HttpRedirect newRedirect)
Schedules update of an existing HTTP redirect into the current session.
|
@Named(value="GetAllHttpRedirects") com.google.common.collect.FluentIterable<String> list() throws DynTrafficExceptions.JobStillRunningException
DynTrafficExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="CreateHttpRedirect") Job scheduleCreate(HttpRedirect newRedirect) throws DynTrafficExceptions.JobStillRunningException
ZoneApi.publish(String) will publish the zone, creating the
redirect.newRedirect - record to createDynTrafficExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="UpdateHttpRedirect") Job scheduleUpdate(HttpRedirect newRedirect) throws DynTrafficExceptions.JobStillRunningException
ZoneApi.publish(String) will publish the zone, creating the
redirect.newRedirect - record to createDynTrafficExceptions.JobStillRunningException - if a different job in the session is still running@Nullable @Named(value="DeleteHttpRedirect") Job scheduleDelete(String fqdn) throws DynTrafficExceptions.JobStillRunningException
ZoneApi.publish(String) will publish the changes, deleting the
record.fqdn - fqdn redirect to deleteDynTrafficExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="GetHttpRedirect") @Nullable HttpRedirect getHttpRedirect(String fqdn) throws DynTrafficExceptions.JobStillRunningException
fqdn - RecordId#getFQDN()DynTrafficExceptions.JobStillRunningException - if a different job in the session is still runningCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.