Skip navigation links
E F G H I N P S T U V 

E

equalsName(String) - Method in enum io.codepace.HttpTypes
 

F

fire() - Method in class io.codepace.SimpleHttpRequest
Decides which type of request to fire off based on the type stated.

G

getLocalIp() - Method in class io.codepace.NetUtils
Gets the local IP address of the current machine.
getResponse() - Method in class io.codepace.SimpleHttpRequest
 
getWanIp() - Method in class io.codepace.NetUtils
Gets the WAN IP address of the current network using an AWS service.

H

HttpRequest(String, HttpTypes) - Method in class io.codepace.NetUtils
Sends an HTTP request of type HttpTypes.
HttpTypes - Enum in io.codepace
Enum for using various http types (GET, POST, etc.)

I

io.codepace - package io.codepace
 

N

NetUtils - Class in io.codepace
NetUtils provides many functions to simplify networking tasks.
NetUtils() - Constructor for class io.codepace.NetUtils
 

P

pingAddr(String) - Method in class io.codepace.NetUtils
"Pings" an address to check if it's alive
pingHost(String) - Method in class io.codepace.NetUtils
"Pings" host to check if it's alive
postBody - Variable in class io.codepace.SimpleHttpRequest
The body of the POST request used with SimpleHttpRequest.fireJsonPost(String)

S

SimpleHttpRequest - Class in io.codepace
A wrapper for simple http requests.
SimpleHttpRequest(String, HttpTypes) - Constructor for class io.codepace.SimpleHttpRequest
Load up a HTTP request of type type to hostname
SimpleHttpRequest(String) - Constructor for class io.codepace.SimpleHttpRequest
Load up a HTTP GET request to hostname
SimpleHttpRequest(String, String) - Constructor for class io.codepace.SimpleHttpRequest
USE THIS ONLY FOR PUT REQUESTS!!!!
SimpleHttpRequest(String, Pair<String, String>[]) - Constructor for class io.codepace.SimpleHttpRequest
USE THIS ONLY FOR POST REQUESTS WITH PARAMETERS!!!!

T

toString() - Method in enum io.codepace.HttpTypes
 

U

urlShortenGoogle(String) - Method in class io.codepace.NetUtils
Uses Google's URL shortening API to shorten a given url (goo.gl format)

V

valueOf(String) - Static method in enum io.codepace.HttpTypes
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.codepace.HttpTypes
Returns an array containing the constants of this enum type, in the order they are declared.
E F G H I N P S T U V 
Skip navigation links

Copyright © 2017. All rights reserved.