org.jclouds.rackspace.cloudloadbalancers.v1.features
Interface ErrorPageApi


public interface ErrorPageApi

An error page is the html file that is shown to an end user who is attempting to access a load balancer node that is offline/unavailable. During provisioning, every load balancer is configured with a default error page that gets displayed when traffic is requested for an offline node. A single custom error page may be added to a load balancer with an HTTP-based protocol. Page updates will override existing content.


Method Summary
 void create(String content)
          Specify the HTML content for the custom error page.
 boolean delete()
          If a custom error page is deleted, or the load balancer is changed to a non-HTTP protocol, the default error page will be restored.
 String get()
          Get the error page HTML content.
 

Method Detail

create

@Named(value="errorpage:create")
void create(String content)
Specify the HTML content for the custom error page. Must be 65536 characters or less.


get

@Named(value="errorpage:get")
String get()
Get the error page HTML content.


delete

@Named(value="errorpage:delete")
boolean delete()
If a custom error page is deleted, or the load balancer is changed to a non-HTTP protocol, the default error page will be restored.



Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.