Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addDictionaryEntry(String, String) - Method in class edu.pdx.cs.joy.phonebillweb.PhoneBillRestClient
- allDictionaryEntriesDeleted() - Static method in class edu.pdx.cs.joy.phonebillweb.Messages
D
- definedWordAs(String, String) - Static method in class edu.pdx.cs.joy.phonebillweb.Messages
- DEFINITION_PARAMETER - Static variable in class edu.pdx.cs.joy.phonebillweb.PhoneBillServlet
- doDelete(HttpServletRequest, HttpServletResponse) - Method in class edu.pdx.cs.joy.phonebillweb.PhoneBillServlet
-
Handles an HTTP DELETE request by removing all dictionary entries.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class edu.pdx.cs.joy.phonebillweb.PhoneBillServlet
-
Handles an HTTP GET request from a client by writing the definition of the word specified in the "word" HTTP parameter to the HTTP response.
- doPost(HttpServletRequest, HttpServletResponse) - Method in class edu.pdx.cs.joy.phonebillweb.PhoneBillServlet
-
Handles an HTTP POST request by storing the dictionary entry for the "word" and "definition" request parameters.
- dump(Map<String, String>) - Method in class edu.pdx.cs.joy.phonebillweb.PrettyPrinter
- dump(Map<String, String>) - Method in class edu.pdx.cs.joy.phonebillweb.TextDumper
E
- edu.pdx.cs.joy.phonebillweb - package edu.pdx.cs.joy.phonebillweb
F
- formatDictionaryEntry(String, String) - Static method in class edu.pdx.cs.joy.phonebillweb.PrettyPrinter
- formatWordCount(int) - Static method in class edu.pdx.cs.joy.phonebillweb.PrettyPrinter
G
- getAllDictionaryEntries() - Method in class edu.pdx.cs.joy.phonebillweb.PhoneBillRestClient
-
Returns all dictionary entries from the server
- getDefinition(String) - Method in class edu.pdx.cs.joy.phonebillweb.PhoneBillRestClient
-
Returns the definition for the given word
- getDefinition(String) - Method in class edu.pdx.cs.joy.phonebillweb.PhoneBillServlet
L
- log(String) - Method in class edu.pdx.cs.joy.phonebillweb.PhoneBillServlet
M
- main(String...) - Static method in class edu.pdx.cs.joy.phonebillweb.Project4
- Messages - Class in edu.pdx.cs.joy.phonebillweb
-
Class for formatting messages on the server side.
- Messages() - Constructor for class edu.pdx.cs.joy.phonebillweb.Messages
- MISSING_ARGS - Static variable in class edu.pdx.cs.joy.phonebillweb.Project4
- missingRequiredParameter(String) - Static method in class edu.pdx.cs.joy.phonebillweb.Messages
P
- parse() - Method in class edu.pdx.cs.joy.phonebillweb.TextParser
- PhoneBillRestClient - Class in edu.pdx.cs.joy.phonebillweb
-
A helper class for accessing the rest client.
- PhoneBillRestClient(HttpRequestHelper) - Constructor for class edu.pdx.cs.joy.phonebillweb.PhoneBillRestClient
- PhoneBillRestClient(String, int) - Constructor for class edu.pdx.cs.joy.phonebillweb.PhoneBillRestClient
-
Creates a client to the Phone Bil REST service running on the given host and port
- PhoneBillServlet - Class in edu.pdx.cs.joy.phonebillweb
-
This servlet ultimately provides a REST API for working with an
PhoneBill. - PhoneBillServlet() - Constructor for class edu.pdx.cs.joy.phonebillweb.PhoneBillServlet
- PrettyPrinter - Class in edu.pdx.cs.joy.phonebillweb
- PrettyPrinter(Writer) - Constructor for class edu.pdx.cs.joy.phonebillweb.PrettyPrinter
- Project4 - Class in edu.pdx.cs.joy.phonebillweb
-
The main class that parses the command line and communicates with the Phone Bill server using REST.
- Project4() - Constructor for class edu.pdx.cs.joy.phonebillweb.Project4
R
- removeAllDictionaryEntries() - Method in class edu.pdx.cs.joy.phonebillweb.PhoneBillRestClient
T
- TextDumper - Class in edu.pdx.cs.joy.phonebillweb
- TextDumper(Writer) - Constructor for class edu.pdx.cs.joy.phonebillweb.TextDumper
- TextParser - Class in edu.pdx.cs.joy.phonebillweb
- TextParser(Reader) - Constructor for class edu.pdx.cs.joy.phonebillweb.TextParser
W
- WORD_PARAMETER - Static variable in class edu.pdx.cs.joy.phonebillweb.PhoneBillServlet
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form